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
To use Subscription queries, gateway methods require ResponseType objects to be used to indicate return types.
To make it Kotlin idiomatic, extension methods on QueryGateway should be implemented to use reified generics, provide a method per ResponseType (Single without a suffix/Optional/Multiple Many) and forward those calls to existing methods on the QueryGateway. The same ResponseType can be used for both Initial and Update response types.
Examples of these types of extensions created for the query method can be found here
This issue is similar to #11 and #16, but for different methods and types of queries.
The text was updated successfully, but these errors were encountered:
To use Subscription queries, gateway methods require
ResponseType
objects to be used to indicate return types.To make it Kotlin idiomatic, extension methods on QueryGateway should be implemented to use reified generics, provide a method per ResponseType (Single without a suffix/Optional/
MultipleMany) and forward those calls to existing methods on theQueryGateway
. The sameResponseType
can be used for bothInitial
andUpdate
response types.Examples of these types of extensions created for the
query
method can be found hereThis issue is similar to #11 and #16, but for different methods and types of queries.
The text was updated successfully, but these errors were encountered: