Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

groq-builder: implement "conditionals" feature #252

Merged
merged 46 commits into from
Jan 18, 2024
Merged

Commits on Dec 24, 2023

  1. feature(conditionals): added conditional type helpers

    scottrippey committed Dec 24, 2023
    Configuration menu
    Copy the full SHA
    d035d5a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    623910b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    008db1c View commit details
    Browse the repository at this point in the history
  4. feature(conditionals): ensure conditionals can be spread into project…

    …ions
    scottrippey committed Dec 24, 2023
    Configuration menu
    Copy the full SHA
    afec46b View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2023

  1. feature(conditionals): use custom tagged types

    scottrippey committed Dec 25, 2023
    Configuration menu
    Copy the full SHA
    bf8e8f4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f72dc03 View commit details
    Browse the repository at this point in the history
  3. feature(conditionals): improved handling of indent

    scottrippey committed Dec 25, 2023
    Configuration menu
    Copy the full SHA
    c7f5fb8 View commit details
    Browse the repository at this point in the history
  4. feature(conditionals): implemented conditionals

    scottrippey committed Dec 25, 2023
    Configuration menu
    Copy the full SHA
    70fa8b6 View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2023

  1. feature(conditionals): implemented select method

    scottrippey committed Dec 26, 2023
    Configuration menu
    Copy the full SHA
    fdefb46 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f3989ec View commit details
    Browse the repository at this point in the history
  3. feature(conditionals): added type tests

    scottrippey committed Dec 26, 2023
    Configuration menu
    Copy the full SHA
    827a347 View commit details
    Browse the repository at this point in the history
  4. feature(conditionals): created "root projection" test

    scottrippey committed Dec 26, 2023
    Configuration menu
    Copy the full SHA
    ba1124e View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2023

  1. Configuration menu
    Copy the full SHA
    7ec7c17 View commit details
    Browse the repository at this point in the history
  2. feature(conditionals): added import for select method

    scottrippey committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    3e24691 View commit details
    Browse the repository at this point in the history
  3. feature(conditionals): use Empty for RootResult

    scottrippey committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    7d1b0e1 View commit details
    Browse the repository at this point in the history
  4. feature(conditionals): implemented selectByType

    scottrippey committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    2f3ff1c View commit details
    Browse the repository at this point in the history
  5. feature(conditionals): fixed type errors

    scottrippey committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    8ba0285 View commit details
    Browse the repository at this point in the history
  6. feature(conditionals): implemented "default" parameter

    scottrippey committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    fe6c1f5 View commit details
    Browse the repository at this point in the history
  7. feature(conditionals): added tests for validation

    scottrippey committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    266347c View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2023

  1. Configuration menu
    Copy the full SHA
    3458bb6 View commit details
    Browse the repository at this point in the history
  2. feature(conditionals): added jsdocs

    scottrippey committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    c936ab4 View commit details
    Browse the repository at this point in the history
  3. feature(conditionals): changed signature for conditional projections;…

    … uses 2nd parameter
    scottrippey committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    f32fdf1 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2024

  1. feature(conditionals): added shape validation to assist with projecti…

    …on validations
    scottrippey committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    af9331f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    326fef8 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. groq-builder: Added q.fragment implementation (#250)

    * feature(fragment): added `q.fragment` implementation
    
    * feature(fragment): added tests for fragment queries
    
    * feature(fragment): ensure we export `Fragment` and `InferFragmentType` types
    
    * feature(fragment): added docs
    
    * feature(validation): fixed broken import
    
    ---------
    
    Co-authored-by: scottrippey <scott.william.rippey@gmail.com>
    scottrippey and scottrippey authored Jan 10, 2024
    Configuration menu
    Copy the full SHA
    2b53b9f View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2024

  1. feature(conditionals): added IGroqBuilder for easier circular refer…

    …ences
    scottrippey committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    176eed0 View commit details
    Browse the repository at this point in the history
  2. feature(conditionals): improve EntriesOf

    scottrippey committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    fc01974 View commit details
    Browse the repository at this point in the history
  3. feature(conditionals): updated Conditional signature again, to ensu…

    …re unique, spreadable keys
    scottrippey committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    b9da005 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. Configuration menu
    Copy the full SHA
    80e1291 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8712923 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c1d70c8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c085092 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2024

  1. feature(conditionals): added CONDITIONALS docs

    scottrippey committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    53852f6 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2024

  1. feature(conditionals): made key a configuration option

    scottrippey committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    90d612f View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. Configuration menu
    Copy the full SHA
    29529ab View commit details
    Browse the repository at this point in the history
  2. feature(conditionals): updated CONDITIONALS docs

    scottrippey committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    79de34a View commit details
    Browse the repository at this point in the history
  3. feature(conditionals): added docs on Select function

    scottrippey committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    2be8e60 View commit details
    Browse the repository at this point in the history
  4. feature(conditionals): added more examples for q.select

    scottrippey committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    77ade33 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d09ece4 View commit details
    Browse the repository at this point in the history
  6. Merge remote-tracking branch 'origin/main' into conditionals

    # Conflicts:
    #	packages/groq-builder/src/commands/fragment.test.ts
    #	packages/groq-builder/src/commands/projection-types.ts
    #	packages/groq-builder/src/types/public-types.ts
    #	packages/groq-builder/src/types/utils.ts
    scottrippey committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    6d19d15 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7bb04d4 View commit details
    Browse the repository at this point in the history
  8. feature(conditionals): updated conditional tests

    scottrippey committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    35b9224 View commit details
    Browse the repository at this point in the history
  9. feature(conditionals): removed debugging code

    scottrippey committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    a876616 View commit details
    Browse the repository at this point in the history
  10. feature(conditionals): fixed EntriesOf implementation

    scottrippey committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    eb6fb08 View commit details
    Browse the repository at this point in the history
  11. feature(conditionals): fixed type param of no-arg versions of `valida…

    …tion.object()` and `validation.array()`
    scottrippey committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    52c60e4 View commit details
    Browse the repository at this point in the history
  12. feature(conditionals): removed unused imports

    scottrippey committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    0974de7 View commit details
    Browse the repository at this point in the history