-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 feature resolution for protobuf editions #2029
Merged
+926
−11,802
Merged
Changes from 1 commit
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
b4b5ca4
feat: api_converters_editions tests added and run successfully"
sofisl d8eb1b4
remove logging
sofisl 65d3ed1
feat: add feature resolution for protobuf editions
sofisl 0a7bbd1
cleanup PR
sofisl 68e4480
see diff
sofisl 759cc45
fix broken tests
sofisl 8dabd5e
add tests
sofisl 68b5339
feat: add feature resolution and tests
sofisl dae1b3e
undo lockfile update
sofisl f204288
add comment
sofisl f0491be
cleanup
sofisl d9c2ec4
remove only
sofisl b802c42
save for now
sofisl 73590cc
undo bundle changes
sofisl a70c6a4
revert package-lock changes
sofisl a9ffc8a
feat: add feature resolution
sofisl 43a703a
revert package-lock updates/
sofisl 2fabe04
cleanup
sofisl 1bd72ff
chore: run lint
sofisl 5d35287
Merge branch 'master' into protobufEditionsWork
sofisl 225fddb
typo
sofisl 840907e
Merge branch 'protobufEditionsWork' of github.com:protobufjs/protobuf…
sofisl 43183bd
typo
sofisl c4c486d
Update api_enum.js
sofisl 1ca7586
respond to comments
sofisl e73bb3c
chore: add grammar tests
sofisl e1abb31
run lint
sofisl 10dae84
address comments
sofisl 087a33e
remove comment
sofisl 608009b
respond to comments
sofisl 062caa5
fix test
sofisl c7cee06
add default feature resolution at the end
sofisl da2df8a
run lint
sofisl c11ddf4
Update object.js
sofisl d2d47d9
fix: change tree traversal order and feature resolution algorithm
sofisl 2d81627
resolve conflicts
sofisl b57bde7
run lint
sofisl da2663a
Update feature_resolution_editions.js
sofisl caad500
tests: added and broke up tests
sofisl 1f1d33c
chore: remove specific overwriting
sofisl 4ca95c3
chore: respond to test comments
sofisl a9eebac
simplify tests
sofisl 6f7d540
chore: respond to comments
sofisl 530d59a
chore: respond to comments
sofisl 23c8ab9
respond to comments
sofisl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading status checks…
chore: respond to test comments
commit 4ca95c31bb56a28f273bf51ab02100707b5184b8
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
you can put features in oneofs (same syntax as for message), do those work?
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.
Following the pattern of your other tests, I'd expect these two tests to be collapsed into one that tests both inheritance and overriding of message -> oneof
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.
isn't that tested in the test below? (
feature resolution inheritance oneofs
)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.
Kindof, it's not clear why this one is split into two when all of the other ones test both things in a single test
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.
ok I merged it into one test!