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.
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
[SIAD]Add file format #572
[SIAD]Add file format #572
Changes from 1 commit
639b1c3
b48795b
ad2942e
8189927
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check failure on line 8 in file-formats/siad/type/zif_aff_siad_v1.intf.abap
abaplint / abaplint
Type "TY_ASSIGNMENT" contains unknown: APS_IAM_BRT_ID not found, lookup
Check failure on line 13 in file-formats/siad/type/zif_aff_siad_v1.intf.abap
abaplint / abaplint
Identifiers should be lower case: "BusinessRoleTemplateID"
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.
we prefer primitive data types (towards self contained, assuming basic types as
char
are known), soaps_iam_brt_id
is achar[30]
right?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.
same for
/UI2/SPACE_ENTITY_ID
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 even guess you want to use underscores this will transform it to camel case in the JSON schema. Therefore, I suggest to use
business_role_template_id
or evenbusiness_role_template
.Since it is an object name with the length of 30 characters, you might want to reuse
zif_aff_types_v1=>ty_object_name_30
Check failure on line 18 in file-formats/siad/type/zif_aff_siad_v1.intf.abap
abaplint / abaplint
Identifiers should be lower case: "LaunchpadSpaceTemplateID"
Check failure on line 24 in file-formats/siad/type/zif_aff_siad_v1.intf.abap
abaplint / abaplint
Type "TY_MAIN" contains unknown: APS_IAM_BRT_ID not found, lookup
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.
What do you want to emphasise. Do developers specify "general information" or the "assignments" of the object?
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.
We compared our editor with other editors of us and we always have this "General" at top in other editors.
But you are right developers specify more the "assignments" of the object, so "Assignment" would be better?
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.
Yes, "General Information" is used, if we are not able to find a better semantic name. If there is a more specific name, we suggest to use this one. See second-last paragraph of https://github.com/SAP/abap-file-formats/blob/main/docs/json.md#writing-json-schema-with-abap-types
I am not sure, maybe, it's even "Assignements" because there are multiple assignments (to the business role template and to the space template)? It's not an assignment between business role template and space template, is it? What do you think?
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 think general information would be the best choice, the whole object is an assignment of a business role template and a space template, so if it would be "Assignment(s)" this would be a duplicate and makes not that much sense in this position.