Restore action generated for all types derived from directoryObject

Open
#698 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
48/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
xml
Domain
tooling

Research direction

Start in transforms/csdl/preprocess_csdl.xsl around line 2424, where the restore action is generated. Compare the /deletedItems path with derived directoryObject endpoints such as me, contracts/{id}, and applications/{id}. Done means restore is generated only for /deletedItems and no longer for those derived endpoints.

Written by the indexing model from the issue text.

Description

ToTriage

Restore action should be available only on the /deletedItems path rather than derived types of directory object.

Now the restore action is generated for endpoints like

me/microsoft.graph.restore
contracts/{id}/microsoft.graph.restore
applications/{id}/microsoft.graph.restore
...

https://github.com/microsoftgraph/msgraph-metadata/blob/45c385e860332aaa85f1ef7f1b52b0ea44232b34/transforms/csdl/preprocess_csdl.xsl#L2424

Dominant language
XSLT
Stars
166
Forks
55
Avg merge
16h 12m
Merged PRs (30d)
14

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoftgraph/msgraph-metadata

All issues in microsoftgraph/msgraph-metadata

Similar issues

More DevTools issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.