Replies: 3 comments
-
Hello @oriollpz , thanks for trying out the flutter-freezed plugin. Please provide a sample for your schema, your config and the output from the plugin along with your expected output. Don't forget to tag me @Parables so that I get notified. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The Schema is pretty long, I attach it here. It is downloaded from a Hasura.io schema. There are few problems.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using flutter-freezed to transform a Hasura.io GraphQL Schema to a .dart file with Classes and it works good 99%. The problem comes when the classes in dart are created PascalCase, but when they are called inside other classes that they have joins in the database, instead of using PascalCase, they use snake_case.
Example:
The table users has a join with the table user_rooms. The table user_rooms is created as a class with the name UserRooms, but then, the table users is created as Users and inside this class there is a variable called "userRooms" as a user_rooms class, instead of UserRooms.
Beta Was this translation helpful? Give feedback.
All reactions