We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Let's say I have a list of 3 objects:
fixtures.User = * id: 'freddie-freeloader' name: 'Freddie Freeloader' subscription: 'free' * id: 'polly-pro' name: 'Polly Pro' subscription: 'pro' * id: 'platinum-pete' name: 'Platinum Pete' subscription: 'platinum'
This looks like:
fixtures.User = [ { id: 'freddie-freeloader', name: 'Freddie Freeloader', subscription: 'free' }, { id: 'polly-pro', name: 'Polly Pro', subscription: 'pro' }, { id: 'platinum-pete', name: 'Platinum Pete', subscription: 'platinum' } ];
Now let's say I remove 2 objects from the list:
fixtures.User = * id: 'freddie-freeloader' name: 'Freddie Freeloader' subscription: 'free'
fixtures.User = { id: 'freddie-freeloader', name: 'Freddie Freeloader', subscription: 'free' };
So my object has changed from a list of objects, to an object, just by removing objects from the list. This is error-prone.
The text was updated successfully, but these errors were encountered:
→ #132
Sorry, something went wrong.
No branches or pull requests
Let's say I have a list of 3 objects:
This looks like:
Now let's say I remove 2 objects from the list:
This looks like:
So my object has changed from a list of objects, to an object, just by removing objects from the list. This is error-prone.
The text was updated successfully, but these errors were encountered: