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

Collections: add an init or default value #866

Open
josephjclark opened this issue Dec 12, 2024 · 0 comments
Open

Collections: add an init or default value #866

josephjclark opened this issue Dec 12, 2024 · 0 comments

Comments

@josephjclark
Copy link
Collaborator

When getting a single value from collections, it would be nice for the adaptor to provide a default value if it doesn't exist

This is really useful for mappings, because it'll return an empty object instead of undefined, and save downstream errors

@github-project-automation github-project-automation bot moved this to New Issues in v2 Dec 12, 2024
@josephjclark josephjclark changed the title Cnllections: add an init or default value Collections: add an init or default value Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: New Issues
Development

No branches or pull requests

1 participant