Comments (4)
After thinking on this and working some more on an application, it seems as if a limited version of input unions that "automatically" maps to tagged Rust enums would be interesting. It would be a subset of the specification linked above.
I will try to work on this for a bit. The tricky part is to not build something that a later GraphQL will make obsolete :)
from juniper.
Interesting. We could maybe support it with a feature flag. Are there any other GraphQL implementations that support it?
from juniper.
No, as far as I can tell there doesn't seem to be direct support for it in other implementation or even indirect support, but many of these are projects are quite young like this one.
There might of have been some indirect support for it in the Go implementation but overlooked it due to a lack of familiarity with the language (not likely though). While I have figured out a different way to approach the data, it just would have been nicer and less complex. I'll leave it up to you on what should be done.
from juniper.
Le'ts not support anything not in the spec, we have enough catch-up work to do as is.
We can re-open if/when this gets accepted.
from juniper.
Related Issues (20)
- Expected query, got subscription. HOT 3
- `juniper_actix` does not compile with the `subscription` feature enabled HOT 2
- Old version of book is still online HOT 1
- operation_name not being set in juniper_hyper library HOT 2
- I'm having issues with App Data configuration
- Looking for Help & Community HOT 2
- `juniper_warp::make_graphql_filter` improperly returns 4xx on some `context_extractor` 5xx errors HOT 5
- Gitter link resolves to 404 HOT 1
- A better way to keep graphiql updated HOT 1
- Example to integrate with Axum HOT 7
- Subscription argumennt Error using juniper_graphql_transport_ws HOT 2
- GraphQLInputObject macro fails if crate has a local type alias named "Result"
- Create new release HOT 7
- expected tuple struct or tuple variant, found function `Ok` HOT 2
- Input type, determine if key set or unset HOT 2
- `#[graphql_object]` hides syntax errors HOT 2
- GraphQL Union types on generic Rust enums
- Cannot get "Foreign For implementing custom scalars on foreign types there is #[graphql_scalar] attribute." working HOT 1
- Implement ` juniper_graphql_ws::Schema` for `&'static RootNode`
- Provide support for Jiff date/time types HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from juniper.