Skip to content

Added managementapp-add. Solves #2917#2918

Closed
appieschot wants to merge 1764 commits intopnp:gh-pagesfrom
appieschot:feature/cmd-2917
Closed

Added managementapp-add. Solves #2917#2918
appieschot wants to merge 1764 commits intopnp:gh-pagesfrom
appieschot:feature/cmd-2917

Conversation

@appieschot
Copy link
Copy Markdown
Member

Added managementapp-add. Solves #2917

Vipul Kelkar and others added 30 commits June 11, 2021 11:42
Comment thread src/m365/pp/commands/managementapp/managementapp-add.ts
@waldekmastykarz waldekmastykarz self-assigned this Jan 17, 2022
Copy link
Copy Markdown
Member

@waldekmastykarz waldekmastykarz left a comment

Choose a reason for hiding this comment

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

Hey @appieschot, let's do a few changes before we merge it in

Comment thread docs/mkdocs.yml Outdated
Comment thread src/m365/pp/commands/managementapp/managementapp-add.ts Outdated
Comment thread src/m365/pp/commands/managementapp/managementapp-add.ts Outdated
Comment thread src/m365/pp/commands/managementapp/managementapp-add.ts Outdated
Comment thread src/m365/pp/commands/managementapp/managementapp-add.ts Outdated
@waldekmastykarz waldekmastykarz removed their assignment Jan 17, 2022
@waldekmastykarz waldekmastykarz marked this pull request as draft January 17, 2022 18:33
@appieschot appieschot marked this pull request as ready for review January 19, 2022 18:11
@appieschot
Copy link
Copy Markdown
Member Author

Okey implemented the the GraphTypes; just curious; as we use the getAppObjectId in app the m365 aad app commands; should we have an abstracted AppCommand class so we can have 1 implementation instead of the multitude we have now (used in app-get, app-role-add, app-role-delete, app-role-list and app-set commands (as well as this one but this might be a bit of an odd duck as this in the future should inherit from whatever we decide in #2961

@waldekmastykarz
Copy link
Copy Markdown
Member

Okey implemented the the GraphTypes; just curious; as we use the getAppObjectId in app the m365 aad app commands; should we have an abstracted AppCommand class so we can have 1 implementation instead of the multitude we have now (used in app-get, app-role-add, app-role-delete, app-role-list and app-set commands (as well as this one but this might be a bit of an odd duck as this in the future should inherit from whatever we decide in #2961

The more commands we add across M365, the clearer it becomes that methods like getAppObjectId are not specific to just one service. As such, we should revise our approach with implementing helper classes in base command classes and perhaps consider refactoring Utils to a set of logically grouped methods that can be used from anywhere in the CLI rather than just specific base classes. Let's discuss this in a separate issue.

@appieschot
Copy link
Copy Markdown
Member Author

I'll create an issue for it next week.

Copy link
Copy Markdown
Member

@waldekmastykarz waldekmastykarz left a comment

Choose a reason for hiding this comment

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

I can see a number of changes in mkdocs.yml that don't seem related to the PR? Before we continue with the review, could you please double check that no unintended changes have been included in the PR?

@waldekmastykarz waldekmastykarz marked this pull request as draft February 1, 2022 18:19
@appieschot
Copy link
Copy Markdown
Member Author

Will have a look later; I reverted the changes after rebasing but it still shows as changes (while manual compare shows that the marked changes are currently present in the main branch)..

@appieschot appieschot changed the base branch from main to gh-pages February 3, 2022 09:22
@appieschot appieschot closed this Feb 3, 2022
@appieschot
Copy link
Copy Markdown
Member Author

@waldekmastykarz sorry made a click error in the UI and it closed out my PR 🤭 created a new one.

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.