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
@anymaniax uhm - mocking with the schema that i use is throwing an error... so i am not sure what "mocking" exactly does :) (will debug and fix soon-ish).
as per what i understand, "mocks" are generated against service layer though..
This one is meant to be used as a convenient way of creating ready-to-go objects (-> useState(createAddress());
What are the steps to reproduce this issue?
Using any schema, do generate models, we get following (example):
What were you expecting to happen?
Beside interface, getting a factory method (naive approach)
Naturally, all primitive types should be handled, re complex (other schema types) - we should discuss on how to handle "relationship"
Motivation
Initializing state in react components is very tedious work
What versions are you using?
Package Version: 6.27.1
The text was updated successfully, but these errors were encountered: