Comments (8)
@tsrCodes, looks about right! 😄
from graphql_codegen.
Which version of graphql_codegen
are you using? Are you calling parsedData
on a query result anywhere in your code?
from graphql_codegen.
I'm Using the graphql_codegen: ^0.6.0
& graphql_flutter: '^5.0.1-beta.5'
. Yeah I use the result.parsedData
& show them in ListView
from graphql_codegen.
Thanks for reporting this @tsrCodes! I've found the bug in graphql_flutter
and submitted a PR: zino-hofmann/graphql-flutter#1044
from graphql_codegen.
@tsrCodes, merged and released in the latest version of graphql
: 5.0.2-beta.3
from graphql_codegen.
Kudos @budde377 , Works Well , But Missing Type Defs ,
from graphql_codegen.
But Missing Type Defs
What do you mean?
from graphql_codegen.
fetchMore!(
GQLFetchMoreOptionsQueryAllPosts(
updateQuery: (Map<String, dynamic>?
previousResultData,
Map<String, dynamic>?
fetchMoreResultData) {
final posts = [
...previousResultData!['posts']
['nodes'],
...fetchMoreResultData!['posts']
['nodes'],
];
fetchMoreResultData['posts']['nodes'] =
posts;
return fetchMoreResultData;
},
variables: VariablesQueryAllPosts(
endCursor: endCursor,
first: 3,
),
),
Is that right way??
from graphql_codegen.
Related Issues (20)
- Add `id` in the build step like with `__typename` HOT 2
- `Invalid GraphQL: Failed to find type for field` for extended query and same name nesting fields HOT 4
- Replace `when` and `maybeWhen` with pattern matching in Dart 3 HOT 5
- [Suggestion] Generate variable names based off of aliases HOT 2
- Omit fields from a query HOT 5
- Duplicate generated classes HOT 3
- required fields with default value being generated to a nullable field HOT 10
- Add Back `includeIfNullOnInput` build options HOT 8
- Wrong usage of Fragment passed code generation process HOT 2
- [bug] The dissimilarity of fromJSON with data when using fragments over union types HOT 2
- Custom scalars do not work with "input types" HOT 5
- Remove edges and node from parsed data HOT 2
- [Request] Option to make Variables$ required HOT 1
- Add the option to skip a query when using hooks HOT 2
- Create fromJson constructor instead of fromJson method HOT 1
- fromJson with DateTime (and custom types) expects String HOT 8
- Is __typename in idFields required when writing and reading fragments? HOT 3
- Option to disable CopyWith generation HOT 3
- How to set variable in mutation? HOT 4
- Support for the @oneOf directive HOT 1
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 graphql_codegen.