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

fix: do not throw error when parent of nested field is missing #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

adrianschmidt
Copy link

@adrianschmidt adrianschmidt commented May 5, 2023

Instead of erroring when the parent of a nested field is missing, just return the empty value.

fix: #13

This PR does not make it possible for the consumer to choose whether the action should error or return an empty value. If that functionality is wanted, I'm happy to provide a PR that does that instead.

@adrianschmidt adrianschmidt reopened this May 5, 2023
@adrianschmidt adrianschmidt marked this pull request as ready for review May 5, 2023 11:12
Instead of erroring when the parent of a nexted field is missing, just
return the empty value.
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

Successfully merging this pull request may close these issues.

Do not cause error if parent of nested field (section) is missing
1 participant