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

Add ability to exclude schema properties? #2

Open
andomain opened this issue May 22, 2019 · 0 comments
Open

Add ability to exclude schema properties? #2

andomain opened this issue May 22, 2019 · 0 comments

Comments

@andomain
Copy link

Is there any way I can exclude a schema property from the generated PropTypes?
I have a User schema with a password property that is removed when the data is sent to my front end and therefore throws a PropTypes error.

Can I remove this from the generated PropTypes in any way or I could possibly look into making a PR to include a config object?

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