Closed adam-codeberg closed 8 years ago
Issue may be due to using underscores in JSON relationship declerations.
Example /addressbook/schemas/contacts.json Changed phone_number to phone and the issue goes away.
The workaround works, but not sure if this is symptomatic of a deeper issue.
Have checked pypi and all packages are up to date and incorporated the setup.py provided on git into the project, however issue persists.
Thanks for reporting this @adam-codeberg, was able to reproduce. This is a bug.
Thanks for looking into it.
If a Parent model is before a Child model in the RAML the Child model is not created at the time the Parent looks for it.
Example see /contacts and /emails here /addressbook/api.raml
As a work around, the issue does not occur when the Parent is placed after the Child, however this prohibits the ability to nest objects for a more intuitive API structure.
This error is produced