Imagine we have this type:
@strawberry.type
class Frequency:
kind: str
times: int
and we want to use it as input, to do so we need to make a copy of it pretty much:
@strawberry.input
class FrequencyInput:
kind: str
times: int
But what if we allowed doing something like this:
@strawberry.type
class Frequency:
kind: str
times: int
FrequencyInput = Frequency.as_input() # we don't have access to the variable name, but we'll append Input to the original name
FrequencyInput = Frequency.as_input(name="AddFrequencyInput")
FrequencyInput = Frequency.as_input(all_optional=True) # not sure about this yet
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too