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

Warning for non required components of type enum without default #168

Merged
merged 3 commits into from
Sep 8, 2022

Conversation

wurzka
Copy link
Contributor

@wurzka wurzka commented Sep 7, 2022

Refers to #150
So far, it was checked if enum valued components have a possible initial (ABAP) value, are required or have a default. If not, we wrote a warning.
Now, having an initial value is not enough anymore.

@wurzka wurzka added the G1Y dev system label Sep 7, 2022
@wurzka wurzka requested a review from albertmink September 7, 2022 13:07
@albertmink
Copy link
Contributor

I like that the JSON Schema tells the default value. I just wonder what this change means to (all) JSON Schema/Interface types from the AFF repository. Do we need to update all AFF type definitions an JSON Schema?

@wurzka
Copy link
Contributor Author

wurzka commented Sep 8, 2022

I checked the types that are actually in the AFF repository and created this issue SAP/abap-file-formats#396. There are (hopefully) all types listed that need an adaption.

@albertmink
Copy link
Contributor

LGTM. Changes in AFF are compatible, so let's improve this

@wurzka wurzka merged commit f519c84 into main Sep 8, 2022
@wurzka wurzka deleted the wurza/enums_need_default branch September 8, 2022 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
G1Y dev system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants