microsoftgraph / microsoftgraph/msgraph-sdk-php

missing models for ChangeNotification & ChangeNotificationCollection

Open
#1,668 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status:waiting-for-triage type:bug
Dominant language
PHP
Stars
669
Forks
150
Avg merge
15h 21m
Merged PRs (30d)
3

Description

Describe the bug

I'm unable to find the ChangeNotification & ChangeNotificationCollection models in version 2 of the msgraph-sdk-php.

These 2 models are included in version 1.
https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.110.0/src/Model

These classes appear to have been left out of other versions of the graph sdk, but were fixed:
https://github.com/microsoftgraph/msgraph-sdk-go-core/issues/95

I also looked at a C# implementation for coding hints, looked at similar models in the source code for various models, and looked through Kiota documentation for deserialization, but wasn't able to find a straightforward way to handle change notifications using the graph api sdk. If more documentation & examples could be added to the SDK, that would be helpful.

Expected behavior
Click to expand log ``` ``` ### Configuration _No response_ ### Other information _No response_

Contributor guide

Open the contributing guide

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.

Research direction

Compare the version 1 src/Model directory linked in the issue with the generated models in the current SDK, then inspect similar models and the Kiota deserialization documentation. Confirm how ChangeNotification and ChangeNotificationCollection should be represented and exposed, and verify that the expected PHP imports are available and usable for change-notification handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.