-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add support for Annotated types in plugins #8665
Open
jptrindade
wants to merge
38
commits into
master
Choose a base branch
from
issue/8573-add-support-for-annotated-types-on-plugin
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+171
−64
Open
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
869603d
Add support for native union types in plugins
arnaudsjs 15129ab
Add changelog entry
arnaudsjs e2c4c32
Fix typing
arnaudsjs 719fbb3
Fix typing
arnaudsjs 001f50c
Small improvements
arnaudsjs c1c7df8
Use callable from abc
arnaudsjs 53a0a5c
Improve error message
arnaudsjs 505c41e
Fix formatting
arnaudsjs fdeea80
Initial commit
jptrindade 23cd1e7
small adjustments
jptrindade 2bc3eaa
fixed mypy
jptrindade 8c30ca3
test with type alias
jptrindade bdf64cb
Update mypy-baseline.txt
jptrindade d1f7288
fix mypy
jptrindade 5ce1296
revert mypy
jptrindade 3bbe231
renamed exception
sanderr ec784bf
dedicated plugin type exception
sanderr c16d8b4
added test scenario
sanderr dac146d
import fix
sanderr f64c3a9
addressed comments
jptrindade db3c27e
added to_dsl_type_simple
jptrindade 378ca58
fix mypy
jptrindade 0127969
some test fixes
sanderr 092261b
test fixes
sanderr 6a6d6ec
pep8
sanderr 28e62aa
rejection test first try
jptrindade 69f3697
renamed change entry
sanderr 1fdd946
include iso7
sanderr e57db25
Merge branch 'refs/heads/issue/8574-add-support-union-types' into iss…
jptrindade b07e091
merge and refactor
jptrindade 2a1a57d
mypy
jptrindade 3484f4a
Merge remote-tracking branch 'refs/remotes/origin/master' into issue/…
jptrindade 0b21043
Revert "merge and refactor"
jptrindade 001456a
Merge branch 'refs/heads/master' into issue/8573-add-support-for-anno…
jptrindade 9e5679e
attempted merge
jptrindade 2fc91a9
fixed mypy
jptrindade 48a1a97
fixed test_plugin_types.py
jptrindade a5135da
WIP, still problems with pylance
jptrindade 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
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
changelogs/unreleased/8573-add-support-for-annotated-types.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
description: Add support for annotated types to plugins. | ||
issue-nr: 8573 | ||
change-type: minor | ||
destination-branches: [master, iso8, iso7] |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
entity TestEntity: | ||
int value | ||
end | ||
|
||
typedef response as string matching self in ["yes", "no"] | ||
|
||
implement TestEntity using std::none |
Oops, something went wrong.
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.
This one sparked a laugh