Hi,
I am getting a warning message when implementing a @DgsData function that contains a method inside.
Script example:
type Data @key(fields: "id") @extends{
id: ID! @external
configurations(settings: [ConfigInput!]!): [ConfigOutput!]!
}
input ConfigInput {
name: String!
}
type ConfigOutput {
value: String!
}
And implementing this method
@DgsData(parentType = "Data", field = "configurations")
fun type1Configurations(@InputArgument(collectionType = ConfigInput::class) settings: List<ConfigInput>): List<ConfigurationToggle> {
// Work here
}
I keep getting a warning saying that @InputArgument type does not match the schema, expected @InputArgument (collectionType=ConfigInput) settings: List<ConfigInput>
If I apply the fix hit the plugin gives it actually cause an error since it is not providing an extension for the collectionType
ConfigInput
The same situation happens when using it on a typical query with no graphql federation.
Can you please help, thanks!