Skip to content

Only allow public properties when building a schema.#25

Merged
jeggy merged 2 commits intoaPureBase:masterfrom
nielsvanvelzen:ignore-private-properties
May 26, 2019
Merged

Only allow public properties when building a schema.#25
jeggy merged 2 commits intoaPureBase:masterfrom
nielsvanvelzen:ignore-private-properties

Conversation

@nielsvanvelzen
Copy link

This fixes crashes when trying to query private/protected fields.

This fixes crashes when trying to query private/protected fields.
@jeggy
Copy link
Member

jeggy commented May 26, 2019

Thanks!

This looks great, it would be great if you could provide a simple unit test validating that a private field would be ignored

@nielsvanvelzen
Copy link
Author

Thanks for the fast reply! I added a unit test that checks if a private field is not in the schema.
If something is missing please let me know.

@jeggy jeggy merged commit f4578dc into aPureBase:master May 26, 2019
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

Successfully merging this pull request may close these issues.

2 participants