Comments (5)
Another option here would be to parameterise cynic::Id
by a type lock or similar. Could potentially have a default value (check if that works).
from cynic.
An option here: Scalar<TypeLock>
where TypeLock is cynic::Id
or String
or whatever.
from cynic.
Think this and #48 could partially be solved by having SerializeTo and Deserialize from traits that can be used for input types and output types respectively. Though itβs late so think this over in the morning
from cynic.
Another way to cover this functionaltiy would be to provide a map
attribute on fields that allows converting to another type via a function.
from cynic.
Hoping this can be tackled in #182 - if not may be postponed again
from cynic.
Related Issues (20)
- Serialize queries into GraphQL HOT 1
- Trait Bound not satisfied HOT 7
- Breaking API Cleanup
- Extra empty list item in GraphQL output HOT 1
- `cynic-querygen` ignores fragment names HOT 9
- Parsing extensions contained in response HOT 1
- Generator gets variables required-ness wrong
- Next Release? HOT 2
- Put spans on things somehow HOT 1
- admonishments in the book are broken
- Cannot retrieve `GraphQLResponse`s with `ErrorExtensions` properly HOT 4
- Dependency Dashboard
- Action Required: Fix Renovate Configuration
- How exactly to build wrapper libraries? HOT 2
- Optionally include GraphQL Query / Mutation in `querygen` output
- invalid type: integer ..., expected a string HOT 7
- Generator fails to handle a fragment
- GraphQL over HTTP compliance
- Could not find a type named [type] in the schema HOT 5
- `querygen-web` generates wrong `arguments` attribute input
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 cynic.