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

feat: add integration of serde_json #975

Draft
wants to merge 22 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
0a803df
feat: add integration of serde_json
chirino Aug 14, 2021
86a60c1
Codestyle corrections
tyranron Aug 15, 2021
d2bdcd9
feat: add GraphQLValueAsync impl for serde_json
chirino Aug 15, 2021
38495b7
feat: support using serde_json::Value as input/output fields
chirino Aug 15, 2021
2e8b326
feat: added TypedJson wrapper type that makes it easier to define sta…
chirino Aug 16, 2021
be3a32d
feat: added test to verify serde_json::Value work as subscription ret…
chirino Aug 16, 2021
365658b
feat: added section to the book to show examples of how to use the se…
chirino Aug 22, 2021
f3e42f5
Merge branch 'master' into json
LegNeato Aug 26, 2021
7ac73b8
Merge branch 'master' into json
LegNeato Sep 9, 2021
af6e4aa
Merge branch 'master' into json
tyranron Sep 16, 2021
48fea85
Merge remote-tracking branch 'chirino/json' into json
tyranron Sep 16, 2021
9ff9879
Reimpl serde_json::Value, vol.1
tyranron Sep 17, 2021
6222be4
Reimpl serde_json::Value, vol.2
tyranron Oct 4, 2021
568d1ec
Impl Json<T> wrapper, vol.1
tyranron Oct 4, 2021
cd3398b
Impl Json<T> wrapper, vol.2
tyranron Oct 5, 2021
94f755d
Impl dynamic TypeInfo, vol.1
tyranron Oct 5, 2021
b807c43
Impl dynamic TypeInfo, vol.2
tyranron Oct 7, 2021
9bb2d04
Impl dynamic TypeInfo, vol.3
tyranron Oct 7, 2021
9ce0717
Bikeshed serde + ScalarValue stuff, vol.1
tyranron Oct 8, 2021
3306cf1
Merge branch 'master' into json
tyranron Apr 14, 2022
0451540
Restore and refactor, vol.1
tyranron Apr 15, 2022
a1e2ffe
Restore and refactor, vol.2 [skip ci]
tyranron Apr 15, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ your Schemas automatically.
- [chrono][chrono]
- [chrono-tz][chrono-tz]
- [bson][bson]
- [serde_json][serde_json]

### Web Frameworks

Expand Down Expand Up @@ -120,3 +121,4 @@ Juniper has not reached 1.0 yet, thus some API instability should be expected.
[chrono-tz]: https://crates.io/crates/chrono-tz
[bson]: https://crates.io/crates/bson
[juniper-from-schema]: https://github.com/davidpdrsn/juniper-from-schema
[serde_json]: https://crates.io/crates/serde_json
2 changes: 2 additions & 0 deletions juniper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ default = [
"schema-language",
"url",
"uuid",
"json",
]
expose-test-schema = ["anyhow", "serde_json"]
graphql-parser-integration = ["graphql-parser"]
scalar-naivetime = []
schema-language = ["graphql-parser-integration"]
json = ["serde_json"]

[dependencies]
juniper_codegen = { version = "0.15.7", path = "../juniper_codegen" }
Expand Down
Loading