-
Notifications
You must be signed in to change notification settings - Fork 317
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
Planner planTitle
inconsistency
#3342
Comments
Maybe we should also rename the planner utility function from cli-microsoft365/src/utils/planner.ts Lines 40 to 45 in de62fbe
|
Will be a breaking change and should be matched against next major release. The refactoring of the utility function could be done without impact and could be a separate issue I guess. |
Just remembered; it would goes in a bit against our https://github.com/pnp/cli-microsoft365.wiki/spec-checklist.md where we state
@pnp/cli-for-microsoft-365-maintainers please advise ;-) |
If we use |
Agree with @milanholemans: following the naming convention we should not reuse the last noun, but we could change
Could you adjust the spec @Jwaegebaert? |
Maybe we could create the new options |
Here we don't have to update anything special because within the commands |
I just updated the specs to the following suggestions.
|
If all is well, I could take this one. |
Like @milanholemans suggested, let's introduce new set of options and in the docs mention that the old options are deprecated. To ensure that we don't lose track of it, let's also create a new issue linked to v6 where we'll remove those deprecated options. Awesome work everyone! 👏 |
Currently when we use a planner title to search for a plan, bucket or task we have 2 different naming conventions. Within
planner plan ...
we make use of plannerTitle, meanwhile withinplanner bucket ...
andplanner task ...
we use plannerName.Here I propose to reform the commands
planner bucket ...
andplanner task ...
to the naming convention of plannerTitle. This then aligns most closely with the graph model. plannerPlan resource typeThis affects the following command:
When we update the option names. Let's also mark the old ones as deprecated, so they can be removed in the next mayor update.
This also affects the following util functions:
getPlanByName
togetPlanByTitle
The text was updated successfully, but these errors were encountered: