Skip to content
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

Support non-primitive types #1

Open
eranikid opened this issue May 3, 2021 · 0 comments
Open

Support non-primitive types #1

eranikid opened this issue May 3, 2021 · 0 comments

Comments

@eranikid
Copy link
Owner

eranikid commented May 3, 2021

Right now withField method only accepts a string parameter for type, so there is no way to use user-defined types, declared somewhere else in the project.

withField method must also accept something like { module: string, type: string }, and in this case generated code should contain an import directive, importing specified type from specified module

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant