forked from keystonejs/keystone-5
-
Notifications
You must be signed in to change notification settings - Fork 1
Json field #78
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
Json field #78
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
0a96649
feat: add Json field type and implementation
pahaz 6ebc1a1
test(@open-keystone/fields): Json clean logic
pahaz 0174c07
refactor(@open-keystone/fields): copy base Json logic with tests
pahaz 0667f7e
test(@open-keystone/fields): add tricky Json values cases
pahaz 2bee610
feat(@open-keystone/fields): add filters with tests
pahaz b03a40b
chore(@open-keystone/fields): add some fixes
pahaz 41cfa60
chore(@open-keystone/fields): knex working
pahaz e10255d
chore(@open-keystone/fields): knex working
pahaz 70a904c
chore(@open-keystone/fields): knex working
pahaz 38defa1
fix(@open-keystone/fields): all test cases
pahaz de0b3a4
chore: yarn format
pahaz d312be5
chore: yarn format
pahaz 8f1a25a
chore: yarn format
pahaz 3e76cef
chore: use existing types
pahaz eaba8df
docs: init json.md spec
pahaz 0320fb5
fix: mock iframe.ly for tests
pahaz 6c53242
docs: init json-cases.md spec
pahaz 2a6b594
docs: clarify spec
pahaz e65ff31
fix: base json tests should follow the spec
pahaz 1a7ffb4
fix: add prisma extra null types
pahaz 32e6662
feat: new base implementation for Json
pahaz 385fa2d
refactor: improve readability of JSON field
pahaz 8790aeb
refactor: improve readability of JSON field
pahaz cd6d4c6
refactor: mongo workarounds
pahaz 19e16e1
refactor: knex working
pahaz c2882c5
refactor: prisma all simple cases done
pahaz 3f0d07f
test: add negative tests for Json
pahaz 4c1d8e6
test: add negative tests for Json
pahaz 948f1ff
chore: yarn format
pahaz 5dba9a6
fix: knex case for root string operators
pahaz 8d0aaea
chore: readability
pahaz 639ddd7
fix: mongo query parser and some sanitization improvements
pahaz 4c963f4
test: add optional root filter tests for Json field
pahaz 83049ff
docs: remove JSON test cases doc
pahaz b86ba58
fix: json tests
pahaz 93f1030
fix: backward compatibility with legacy JSON field
pahaz a53cc30
fix: check backward compatibility with legacy field
pahaz 1fdd188
fix: like injections
pahaz fe19fb2
fix: better JSON filter validation
pahaz ff1cf98
Update packages/adapter-knex/lib/adapter-knex.js
pahaz b497f7e
Merge remote-tracking branch 'origin/json-field' into json-field
pahaz f355a2b
chore: yarn lint:eslint
pahaz cd794a2
chore: extract escapeRegExp tests
pahaz e47f252
fix: use mongo strict mode
pahaz 92c9c8b
refactor: deep refactoring
pahaz eb77d3c
chore: reuse consts
pahaz 61b0e8e
refactor: remove check-infrastructure.js
pahaz a346029
refactor: Json field should follow KS in not_in spec
pahaz dd1c85f
fix: Mongo query relationship tokenizer fallback
pahaz 950014a
chore: yarn format
pahaz d81b684
chore: clean up
pahaz 68a05ba
feat: add Json field enableMatchFilter allowedMatchFilterPaths strict…
pahaz ab8769c
chore: rm useless import
pahaz dacd751
refactor: simplify access to Json field configuration options
pahaz 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.