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

feat: Microsoft graph SDK #40

Merged
merged 5 commits into from
Dec 2, 2024
Merged

feat: Microsoft graph SDK #40

merged 5 commits into from
Dec 2, 2024

Conversation

pellicceama
Copy link
Collaborator

@pellicceama pellicceama commented Dec 1, 2024

Important

Add Microsoft Graph SDK with new package setup and YAML support in utilities.

  • Microsoft Graph SDK Integration:
    • Added msgraph entry in master-manifest.ts with download URL for OpenAPI spec.
  • New SDK Package:
    • Created package.json in sdks/sdk-msgraph for package setup, including scripts for building and cleaning.
    • Added tsconfig.build.json in sdks/sdk-msgraph for TypeScript compilation settings.
    • Added src/index.ts and src/msgraph.oas.meta.ts for SDK initialization and metadata.
  • Utilities:
    • Updated prettyFormat() in utils.ts to support yaml parser.
    • Modified syncManifest() in generateFromManifest.ts to handle YAML format.

This description was created by Ellipsis for 23dbcf2. It will automatically update as commits are pushed.

Copy link

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Changes requested. Reviewed everything up to 01b06f8 in 24 seconds

More details
  • Looked at 82 lines of code in 3 files
  • Skipped 2 files when reviewing.
  • Skipped posting 0 drafted comments based on config settings.

Workflow ID: wflow_oUoDDANhznV7X717


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@@ -161,4 +161,7 @@ export default {
],
),
},
msgraph: {
download: 'https://raw.githubusercontent.com/microsoftgraph/msgraph-sdk-powershell/refs/heads/dev/openApiDocs/v1.0/Files.yml',
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The URL should point to a specific file or commit, not a branch reference, to ensure stability.

@tonyxiao tonyxiao changed the title Microsoft graph SDK feat: Microsoft graph SDK Dec 2, 2024
Copy link

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks good to me! Incremental review on cb392f9 in 11 seconds

More details
  • Looked at 26 lines of code in 2 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. master-manifest.ts:166
  • Draft comment:
    Consider defining the Microsoft Graph SDK download URL as a constant to avoid duplication and potential errors if the URL changes.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The URL for the Microsoft Graph SDK download is repeated in the master-manifest.ts file. It would be better to define it as a constant to avoid duplication and potential errors if the URL needs to be updated.

Workflow ID: wflow_ARHpOiIyBHgWvZXk


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

Copy link

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks good to me! Incremental review on 23dbcf2 in 9 seconds

More details
  • Looked at 20 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 0 drafted comments based on config settings.

Workflow ID: wflow_wGhrJcmnTSukzzzA


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@tonyxiao tonyxiao merged commit fb800ad into main Dec 2, 2024
2 of 4 checks passed
@tonyxiao tonyxiao deleted the microsoft-graph branch December 2, 2024 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants