gql-dart / gql

Libraries supporting GraphQL in Dart
MIT License
267 stars 121 forks source link

[gql_code_builder] fix: vars_create_factories handle BuiltList type #447

Closed LiLatee closed 6 months ago

LiLatee commented 6 months ago

Hi! 👋 I've tried to use that feature vars_create_factories and I've encounter an issue with arguments being lists. The parameter of a factory requires a BuiltList that is assigned to ListBuilder and that is not allowed.

image

@caffeineflo I've found some solution. Not sure whether it's the best way, but it works for me. So if you could take a look 🙏