-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Normlize selector use within lotus #7467
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7467 +/- ##
==========================================
- Coverage 39.21% 39.17% -0.04%
==========================================
Files 631 631
Lines 66787 66788 +1
==========================================
- Hits 26191 26165 -26
- Misses 36024 36056 +32
+ Partials 4572 4567 -5
Continue to review full report at Codecov.
|
ff1ed89
to
a40aa9f
Compare
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.
I've been slightly hesitant to do because it's not precisely the same selector, but functionally should be.
We could simplify further by cleaning up the textselector API I reckon, but that's not critical and I think we should work on integrating that functionality into go-ipld-prime and clarifying the API when doing that.
Wait... they should be identical:
What am I missing? |
I think it's just a simple matter of key ordering, I haven't spent more than a couple of brain cycles on parsing this, but {"R":{":>":{"a":{">":{"@":{}}}},"l":{"none":{}}}} while {"R":{"l":{"none":{}},":>":{"a":{">":{"@":{}}}}}} The difference alone was enough to make be baulk before diving in, but I think it's functionally the same, just comes out different when dag-jsonified. |
* Standardize definition of a recursive non-matching selector In the spirit of filecoin-project/lotus#7467 * Proprly deprecate as understood by the golang toolchain Co-authored-by: Daniel Martí <mvdan@mvdan.cc> Co-authored-by: Daniel Martí <mvdan@mvdan.cc>
* Standardize definition of a recursive non-matching selector In the spirit of filecoin-project/lotus#7467 * Proprly deprecate as understood by the golang toolchain Co-authored-by: Daniel Martí <mvdan@mvdan.cc> Co-authored-by: Daniel Martí <mvdan@mvdan.cc>
No description provided.