Deprecate ArgumentValue<T> in favor of FieldValue<T> #1187
Labels
in: core
Issues related to config and core support
status: declined
A suggestion or change that we don't feel we should currently apply
type: enhancement
A general enhancement
I noticed that our current
ArgumentValue<T>
support is located in theorg.springframework.graphql.data
package and focusing on binding data as controller method arguments. But we are already doing more than that:With #1174 and in general the GraphQL client use case, we should probably generalize this concept as
FieldValue<T>
, mostly copying the existing code to a new class and using this opportunity to use a more appropriate name and a different package, probablyorg.springframework.graphql
.If we decide to do so, we would
@Deprecate
ArgumentValue
in favor ofFieldValue
and remove it entirely in a future version, probably 2.0.Most of what's described here is already done in a branch, but we'll need to discuss this as a team and test this arrangement with GraphQL clients.
The text was updated successfully, but these errors were encountered: