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

Allow filter chains to start with a missing variable #496

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

rydrman
Copy link

@rydrman rydrman commented Apr 8, 2023

  • Tests created for any new feature or regression tests for bugfixes.

Following up on #477, this change treats missing variables and indexes as nil when they appear at the start of a filter chain. As far as I can tell, this is in line with the shopify implementation.

I needed a way to properly identify when an error identified a missing index or variable, and so introduced the concept of an ErrorKind to handle this. If there is a better or preferred way, please let me know!

closes #477

@rydrman
Copy link
Author

rydrman commented May 29, 2023

I'm not sure why the AppVeyor build failed, it seems to be something outside of the scope of this PR

@jsoverson
Copy link

@epage any thoughts on this?

@jesseditson
Copy link

I'd love to see this land, but it looks pretty stale - reading #477 it's unclear to me - is the resolution that this should or should not be the correct behavior?

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.

EmptyDrop and Object indexing
3 participants