Problems with generated types #1702
denerFernandes
started this conversation in
General
Replies: 2 comments 2 replies
-
|
Hi, My first guess - try making your translations input array non-nullable: |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
@michaelbromley i found the problem: LanguageCode from my generated types: In core is lowercase, in my generated types is camel case. Solution was, add option namingConvention for keep enum in my codegen.json: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys, I'm working on a plugin for cms, I'm using the products as a reference, but I'm having problems with the types, they don't match.
I check this: #974 I think I'm doing the same as described by @michaelbromley
I use the last versions and i didn't forget to generate the types. I've been doing this for a while, can you help me?
My entities
Page entity
Page translation entity
Graphql type
My service
But i have this erros:
Beta Was this translation helpful? Give feedback.
All reactions