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
I'm using the OpenApi Generator to generate my ApiClient and Backend Models with JSON Serialization and want to Auto Map the backend Model into my Entities, which declared as freezed Models. So my generated Model looks like this:
But on generation I'm getting the Bad state: no element error, like in another thread for freezed. I think this results from not mapping freezed into freezed, so the question is: Will this possible in the future or did I oversee something?
Thanks in advance, maybe I can find a way myself.
The text was updated successfully, but these errors were encountered:
Hi,
I'm using the OpenApi Generator to generate my ApiClient and Backend Models with JSON Serialization and want to Auto Map the backend Model into my Entities, which declared as freezed Models. So my generated Model looks like this:
and my Freezed Entity like this:
Now I want to create a Mapper class like this:
But on generation I'm getting the
Bad state: no element
error, like in another thread for freezed. I think this results from not mapping freezed into freezed, so the question is: Will this possible in the future or did I oversee something?Thanks in advance, maybe I can find a way myself.
The text was updated successfully, but these errors were encountered: