-
Notifications
You must be signed in to change notification settings - Fork 0
Improve input validation with visitor #26
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
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
7b1b888
initial implementation of visitor
adampetro cc00089
additional features
lopert e8c7c07
additional test fixtures
lopert aa1c81f
clean up new files
lopert db089f7
remove old files, rename new files in their place
lopert cffbef2
remove package-lock, prefer pnpm-lock
lopert f41808e
move workspaces to pnpm-workspace
lopert ad9e138
comment for isInputType + coerceInputValue on output types.
lopert 23870f0
flattenNestedArrays
lopert 32130d5
missing js-docs
lopert b74a466
inline data for tests for validateFixtureInput
lopert a082a13
clean up test fixtures
lopert 599cdb3
use it.skip for unsupported test cases
lopert 4c59095
remove `valid` on validation return types. Rely on errors.length inst…
lopert bd634ec
improve comment for flattenNestedArrays
lopert 5fcba95
remove redundant continues
lopert fa7ec99
use pnpm workspaces for test-app/extensions deps
lopert 27c25af
rework nestedArray traversing to handle nulls.
lopert 8dc30f0
clean up test
lopert 328720a
use toHaveLength
lopert 32b548a
better type for processNestedArrays arg value
lopert File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| public-hoist-pattern[]=*@graphql-codegen/* | ||
| public-hoist-pattern[]=graphql-code-generator |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| name: shopify-function-test-helpers | ||
|
|
||
| type: | ||
| - node | ||
|
|
||
| up: | ||
| - node: | ||
| version: 24.1.0 | ||
| package_manager: pnpm@10.11.1 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.