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
I have a GraphQL type (DTO) class A that extends class B. At the moment, class A does not define any methods and inherits everything from class B. class B is in a framework package. I don't want the schema generator to consider all classes in the framework package. What is the correct way to have the schema generator incorporate class A into the schema and have the schema generator recognize class B?
Additional info:
I tried adding the framework package to withBasePackages and I get a couple of errors of the following form:
"Comparator_MyInterface" must define one or more fields.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Using graphql-spqr 0.12.3.
I have a GraphQL type (DTO) class A that extends class B. At the moment, class A does not define any methods and inherits everything from class B. class B is in a framework package. I don't want the schema generator to consider all classes in the framework package. What is the correct way to have the schema generator incorporate class A into the schema and have the schema generator recognize class B?
Additional info:
I tried adding the framework package to withBasePackages and I get a couple of errors of the following form:
"Comparator_MyInterface" must define one or more fields.
Beta Was this translation helpful? Give feedback.
All reactions