Skip to content

Enhancement: Combine planner plan get with planner plan details get #3344

@Jwaegebaert

Description

@Jwaegebaert

Same concept as issue #3257 & #3231

Here we will be combining the commands planner plan get and planner plan details get into a single command planner plan get. When we look at both output models for these commands, there will be one property we have to watch out for.

planner plan get > PlannerPlan Model:

 {
  "createdDateTime": "2021-12-12T14:00:50.4522129Z",
  "owner": "1e85a3de-c55c-49a3-8c10-5d0c64e8be0e",
  "title": "PnP Planner",
  "id": "xqQg5FS2LkCp935s-FIFm2QAFkHM",
  "createdBy": { },
  "container": { }
}

planner plan details get > PlannerPlanDetails Model:

{
  "id": "xqQg5FS2LkCp935s-FIFm2QAFkHM",
  "sharedWith": {  },
  "categoryDescriptions": {  }
}

So here I've simplified a few parts but you' ll see here that both models do return the same Id. This is in both cases just the task Id. With combining the two models we will need to check that we don't return the Id twice.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions