-
Notifications
You must be signed in to change notification settings - Fork 63
Resolves operationId
and tag
names for OData cast paths
#338
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
Merged
Merged
Changes from 6 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
3fd4939
Initial commit to update descriptions and tags
irvinesunday 40762cb
Second init for operations and tags
irvinesunday 1bcc59b
Get operation ids
irvinesunday 57fbd6a
Refactor out common code into a helper class for re-use
irvinesunday f7930ef
Fix tags; refactor; remove redundant code
irvinesunday 7b4efdb
Updates release notes
irvinesunday b379821
Add SetTags operation for $count operations; update operationId
irvinesunday 993a03e
Remove unnecessary usings
irvinesunday 4eed44a
Add operation id for $count paths for OData type cast segments
irvinesunday 8cc0aaa
Refactor variable name
irvinesunday aade254
Merge remote-tracking branch 'origin/master' into fix/is/odata-type-c…
irvinesunday f85e816
Bump up lib. version
irvinesunday 10a9c62
Refactor out private method; update tag generation
irvinesunday 8109875
Update tags generation
irvinesunday 178191a
Create common reusable class
irvinesunday 47ad99a
Generate complex property path tag name in a helper class
irvinesunday d4680b5
Generate tags for entity set $count paths
irvinesunday 98612fd
Variables renaming
irvinesunday 6ef2f4b
Update integration and unit tests
irvinesunday abb3c34
Refactor methods that generate operation ids and tags
irvinesunday ca1e12c
Fix formatting; use methods in helper class to generate tags
irvinesunday a8785e1
Update unit and integration tests
irvinesunday 490cf70
Variable renaming; fix type cast and complex types operation ids
irvinesunday d79cdfd
Merge branch 'master' into fix/is/odata-type-cast-opIds
irvinesunday 0c847cf
Bump up version
irvinesunday 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
This file contains hidden or 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 hidden or 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 hidden or 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
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.
Can we standardize the naming convention of operationIds to what we have in DevX API - https://github.com/microsoftgraph/microsoft-graph-devx-api/blob/dev/OpenAPIService/PowershellFormatter.cs?
For example:
.
or second.
for OData cast paths.{xxx}_Set{yyy}
.In PowerShell, we use operationIds to form command names.
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.
See my comments at #324 (comment) on operationIds and tags for count and complex property paths.
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.
There are other clients who rely on the operation ids, not sure it will be a good idea to handle that in this library. See this issue.
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.
They are also using AutoREST in the referenced issue - microsoftgraph/msgraph-metadata#289. Standardizing the operationIds here and ensuring uniqueness will have the net effect of fixing their issue.
To unblock this change, I've created an issue at #361 for us to discuss this further.