-
Notifications
You must be signed in to change notification settings - Fork 661
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
Can I set dummy variable inside dataclass and getting variable type is editable #5442
Comments
Hi! |
in my flow, I want to update some item of order list
But this is not the clear code, because I will set them one by one again. If the data class can set extra variable, and can change |
It looks like you could benefit from a way to have local only fields, which is a feature that exists on the web client but not yet on Apollo Kotlin. It's tracked in this issue: #2611. For now you can wrap or convert the generated class into your own model with the additional fields. |
Yeah, in |
We're tracking local fields in #2611 so closing this issue for now, but don't hesitate to open another issue if needed. |
Question
After I generate apollo graphql, I getting data class like this
Can I add one variable again, like
public var isActive: Boolean?
and set some variable likepaid
andupdated
usingvar
insteadval
?this is my query
Thank you.
The text was updated successfully, but these errors were encountered: