-
Notifications
You must be signed in to change notification settings - Fork 4
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
feat: add support for ignore_case for in string array #44
base: main
Are you sure you want to change the base?
Conversation
None => true, | ||
}, | ||
} | ||
.invert(inverted) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if this is standard in rust, or if it's better to keep everything together. Lines started to grow big and this little change made it more readable, but I'm ok moving it back (also for consistency with the other operations)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately that's a logic change here, since this will also flip the state when the context value doesn't exist.
Annoying that neither the existing tests nor the client spec tests picked it up.
This might be more correct but I think it needs a bit more thought than a 5 minute glance
(But also, the code structure is fine, that looks like totally sane Rust to me)
@@ -8,7 +8,7 @@ Yggdrasil is a Rust project designed to create the core of the Unleash SDK domai | |||
|
|||
## Building the Core | |||
|
|||
Easy enough - run `cargo build` from the root of the project. You'll need an up to date set of Rust tools to do this. | |||
Easy enough - run `cargo build` from the root of the project. You'll need an up to date set of Rust tools to do this (`rustup update stable`). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Absolutely amazing first dip into Ygg! Don't want to merge it yet but I think you've got the core ideas down just fine!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WHEE LGTM
This isn't something we need in the grammar right now, so I'm going to let this hang for a bit. The point was a learning exercise |
equals_any_ignore_case
)