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!: empty parent paths should only error if we want them to error #291

Merged
merged 8 commits into from
Apr 26, 2024

Conversation

QuantumExplorer
Copy link
Member

@QuantumExplorer QuantumExplorer commented Apr 25, 2024

Issue being fixed or feature implemented

If a tree on an intermediate path on a subquery path was not present we would receive an error. Now instead we have a field to allow this situation or not. If the option is set to false (don't error), then we simply don't error, any query for any item in that path will simply give back a None value.

Also we fixed an issue with terminal paths.

What was done?

How Has This Been Tested?

Added a test to verify this works as intended.

Breaking Changes

Breaking in the sense that method calls have changed.

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

Copy link
Collaborator

@ogabrielides ogabrielides left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, utACK

@QuantumExplorer QuantumExplorer merged commit d9292aa into develop Apr 26, 2024
7 checks passed
@QuantumExplorer QuantumExplorer deleted the fix/emptyParentPaths branch April 26, 2024 08:09
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.

2 participants