apollographql / apollo-kotlin-execution

GraphQL execution algorithms
https://apollographql.github.io/apollo-kotlin-execution/
MIT License
3 stars 2 forks source link

Stable output when changing a property to a function (and vice versa) #29

Closed martinbonnin closed 1 week ago

martinbonnin commented 1 week ago

Currently we handle Kotlin properties and function separately:

https://github.com/apollographql/apollo-kotlin-execution/blob/32a805817bff183400b9778b69e985c8a908ae53/apollo-execution-processor/src/main/kotlin/com/apollographql/execution/processor/definitions.kt#L344

This can be surprising if changing a Kotlin property to a function or vice versa as the GraphQL schema will change for no specific reason