You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Table(name = "EWARLNSYHTATT")
public class EntityWithAReallyLongNameSoYouHaveToAbbreviateTheTable{
}
In the generated schema, the generated type would be "EWARLNSYHTATT" rather than the actual entity name. The underlying problem is in GraphQLJpaSchemaBuilder.resolveTypeName() - instead of doing managedType.getName(), it should arguably be doing managedType.getJavaType().getName().
Alternatively if this is intended, it would be good to get an annotation that could be put on types to control what the generated schema names a given type?
The text was updated successfully, but these errors were encountered:
If you have an entity like this:
In the generated schema, the generated type would be "EWARLNSYHTATT" rather than the actual entity name. The underlying problem is in GraphQLJpaSchemaBuilder.resolveTypeName() - instead of doing managedType.getName(), it should arguably be doing managedType.getJavaType().getName().
Alternatively if this is intended, it would be good to get an annotation that could be put on types to control what the generated schema names a given type?
The text was updated successfully, but these errors were encountered: