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

Can't add fields to getRequiredProperties() #115

Open
M0S4YSH3LL0 opened this issue Jan 18, 2017 · 0 comments
Open

Can't add fields to getRequiredProperties() #115

M0S4YSH3LL0 opened this issue Jan 18, 2017 · 0 comments

Comments

@M0S4YSH3LL0
Copy link

M0S4YSH3LL0 commented Jan 18, 2017

public function getRequiredProperties() { return ['department', 'dept_floor_id']; }

results in:

MappingException in MappingFactory.php line 318:
Could not add required property 0 in class App\Models\Department because it does not exist.
@M0S4YSH3LL0 M0S4YSH3LL0 changed the title Can't add requiredProperties() Can't add fields to getRequiredProperties() Jan 18, 2017
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