-
-
Notifications
You must be signed in to change notification settings - Fork 325
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
Data is not getting generated for all the properties, few properties are missing. #592
Comments
Can you test the same schema against the develop sources? Thank you! |
@pateketrueke , I tested this in angular project installing it via npm, tried both by calling asyncFake() and resolve() method..it doesn't produce the data for all the properties, have to recursively call the methods.. Regards, |
Which version are you using then? I tried your schema in our online webapp and seems to be working: https://json-schema-faker.js.org/#gist/38b5265c5f54eea8c7d6c65948b7b616 |
@pateketrueke , I'm using the latest version. I tried the below schema in both online webapp as well as npm package. It's not generating any value, page is becoming unresponsive |
I see, the references in such schema are causing too much recursion: I'll investigate more about this issue, thank you! |
Data is not getting generated for all the properties, have to try couple of times, then only it gets generated for all the properties.
Even if the data is generated, not all the objects inside an array will have all the properties, out of 5 objects, only one will have all the properties..
Attached is the schema file, which i used for testing purpose.
Suggestion : If the element is an array, try copying all the properties in all the objects or just return the object, which has all the properties.
schema_v4.txt
The text was updated successfully, but these errors were encountered: