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: zod compatibility #257

Merged
merged 52 commits into from
Feb 5, 2024
Merged

groq-builder: zod compatibility #257

merged 52 commits into from
Feb 5, 2024

Commits on Jan 21, 2024

  1. feature(zod): added zodValidations

    scottrippey committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    83403e9 View commit details
    Browse the repository at this point in the history
  2. feature(zod): added nullToUndefined helper

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

Commits on Jan 22, 2024

  1. feature(zod): added as and asType helpers

    scottrippey committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    a02cd92 View commit details
    Browse the repository at this point in the history
  2. feature(zod): improved jsdocs

    scottrippey committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    58299b2 View commit details
    Browse the repository at this point in the history
  3. feature(zod): better support for Zod types in parsers

    scottrippey committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    b45119d View commit details
    Browse the repository at this point in the history
  4. feature(zod): renamed to simply zod

    scottrippey committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    ea0cb95 View commit details
    Browse the repository at this point in the history
  5. feature(zod): add zod dependency

    scottrippey committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    9d9d069 View commit details
    Browse the repository at this point in the history
  6. feature(zod): switch more tests to use zod

    scottrippey committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    ca0d3fc View commit details
    Browse the repository at this point in the history
  7. feature(zod): moved "lite validation" into new folder

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

Commits on Jan 23, 2024

  1. feature(zod): handle ZodError

    scottrippey committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    98a15f1 View commit details
    Browse the repository at this point in the history
  2. feature(zod): extracted the object/array parsing logic, used by `proj…

    …ect`
    scottrippey committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    3b5d359 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ac59a43 View commit details
    Browse the repository at this point in the history
  4. feature(infer): updated error messages

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

Commits on Jan 24, 2024

  1. feature(cleanup): renamed to InferResultItem

    scottrippey committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    0a71280 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5b9e735 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    faa43d7 View commit details
    Browse the repository at this point in the history
  4. feature(cleanup): removed useless $ convention

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

Commits on Jan 25, 2024

  1. feature(infer): updated naked projections (.field, projection tuple…

    …s) with mandatory parser
    scottrippey committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    42cb7e6 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

  1. Merge branch 'infer' into gb/type-cleanup

    # Conflicts:
    #	packages/groq-builder/src/commands/projectField.ts
    scottrippey committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    beb9723 View commit details
    Browse the repository at this point in the history
  2. Revert "feature(infer): updated naked projections (.field, projecti…

    …on tuples) with mandatory parser"
    
    This reverts commit 42cb7e6
    scottrippey committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    edfce71 View commit details
    Browse the repository at this point in the history
  3. Revert "feature(infer): implemented q.infer() for inferred result t…

    …ypes"
    
    This reverts commit ac59a43
    scottrippey committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    b5031ba View commit details
    Browse the repository at this point in the history
  4. feature(cleanup): allow q.field to accept a parser

    scottrippey committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    8e2783c View commit details
    Browse the repository at this point in the history
  5. feature(cleanup): updated tests to use zod

    scottrippey committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    4adb1b2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c108584 View commit details
    Browse the repository at this point in the history
  7. feature(validationRequired): implemented validationRequired field for…

    … naked projections
    scottrippey committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    43f85b1 View commit details
    Browse the repository at this point in the history
  8. feature(validationRequired): implemented validationRequired field for…

    … projections
    scottrippey committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    721bc46 View commit details
    Browse the repository at this point in the history
  9. changeset

    scottrippey committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    2f0d49c View commit details
    Browse the repository at this point in the history
  10. Merge remote-tracking branch 'origin/main' into zod-again

    # Conflicts:
    #	packages/groq-builder/src/commands/select.ts
    scottrippey committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    87daeab View commit details
    Browse the repository at this point in the history
  11. feature(cleanup): added jsdocs

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

Commits on Jan 27, 2024

  1. feature(zod): do not require validation for naked projections, since …

    …they can be chained; enforce stronger for projections
    scottrippey committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    11b321f View commit details
    Browse the repository at this point in the history
  2. feature(zod): allow a parser for the ... type

    scottrippey committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    71bd574 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2024

  1. feature(cleanup): simplified Omit conditional keys

    scottrippey committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    721ecb2 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2024

  1. feature(zod): map all undefined to null

    scottrippey committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    140bb81 View commit details
    Browse the repository at this point in the history
  2. feature(zod): added q.default utility

    scottrippey committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    71f6178 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2024

  1. feature(zod): updated zod test with nullable field

    scottrippey committed Jan 30, 2024
    Configuration menu
    Copy the full SHA
    1657877 View commit details
    Browse the repository at this point in the history
  2. feature(zod): support Parser input widening

    scottrippey committed Jan 30, 2024
    Configuration menu
    Copy the full SHA
    9ef6cfb View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2024

  1. Configuration menu
    Copy the full SHA
    f25000f View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2024

  1. feature(projection): updated tests

    scottrippey committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    9e7a08e View commit details
    Browse the repository at this point in the history
  2. feature(projection): removed custom expectType, replaced with `expe…

    …ctTypeOf` from vitest
    scottrippey committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    9ac6394 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    649260f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    050602e View commit details
    Browse the repository at this point in the history
  5. feature(zod): moved nullToUndefined into zod namespacr

    scottrippey committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    3d21527 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2024

  1. feature(zod): when chaining methods, check to ensure parsers are not …

    …added before queries
    scottrippey committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    9a8553a View commit details
    Browse the repository at this point in the history
  2. feature(zod): implemented .nullable()

    scottrippey committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    c747b36 View commit details
    Browse the repository at this point in the history
  3. feature(zod): moved q.slug into zod, since that's the only place it…

    …'s useful
    scottrippey committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    c4926e9 View commit details
    Browse the repository at this point in the history
  4. feature(zod): make chain's parser optional

    scottrippey committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    e847f75 View commit details
    Browse the repository at this point in the history
  5. feature(zod): removed unused validation/lite

    scottrippey committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    538a6ba View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6d73677 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8d30788 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    62b8040 View commit details
    Browse the repository at this point in the history
  9. feature(zod): removed unused import

    scottrippey committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    db6cfbe View commit details
    Browse the repository at this point in the history
  10. feature(zod): updated changeset

    scottrippey committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    a8da1a7 View commit details
    Browse the repository at this point in the history