-
-
Notifications
You must be signed in to change notification settings - Fork 427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As using proxy type #1490
Labels
enhancement
New feature or request
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of the feature
I would like to include a feature similar to
serde_with::FromInto
:The latter eliminates the requirement for wrapper types and/or additional logic because it uses something that GraphQL already understands (i.e.
u8
,u16
,String
, ...).Additionally, it can be used in conjunction with
skip_input
to eliminate it from anInputObject
.Code example
type
isexternal::enum::Type
, however it is seen as anu8
in bothSimpleObject
andInputObject
thanks toimpl From<u8> for external::enum::Type
andimpl From<external::enum::Type> for u8
only_object
isexternal::Obj
, however it is seen as anu16
inSimpleObject
thanks toimpl From<external::enum::Type> for u16
only_object
is skipped inInputObject
thanks toskip_input
The text was updated successfully, but these errors were encountered: