Skip to content

Returning resource type for relationship members and adding more information to relationship#267

Merged
FehintolaObafemi merged 3 commits into
mainfrom
FehintolaObafemi/RelationshipMembers
Jan 26, 2026
Merged

Returning resource type for relationship members and adding more information to relationship#267
FehintolaObafemi merged 3 commits into
mainfrom
FehintolaObafemi/RelationshipMembers

Conversation

@FehintolaObafemi
Copy link
Copy Markdown
Contributor

@FehintolaObafemi FehintolaObafemi commented Oct 24, 2025

This pull request implements enhanced relationship member types for Microsoft Graph Bicep Types, introducing richer object structures for relationship members and adding support for the new v1.0\1.1.0 API version. The changes provide advanced filtering, referencing, and type-based operations while maintaining backward compatibility with existing v1.0 implementations. The update includes new schema definitions, version detection logic, and comprehensive test coverage.

Key changes grouped by theme:

Enhanced Relationship Member Types

  • Introduced a new object schema for relationship members (microsoft.graph.relationshipMember) that includes fields like id, type, displayName, userPrincipalName, appId, and uniqueName, enabling type-based filtering and richer object referencing in enhanced API versions.
  • Updated the schema generation logic in swaggerWriter.ts and type index building in generate.ts to conditionally use the enhanced relationship member structure for beta/1.1.0-preview and v1.0/1.1.0-preview versions, while maintaining string arrays for legacy versions.

API Versioning and Configuration

  • Added support for the v1.0\1.1.0 API version in the codebase, including updates to enums (ApiVersion), configuration files (extensionConfig.json), generation logic (extensionConfigForGeneration), and file path handling.

Documentation and Validation

  • Added a comprehensive proposal and documentation file (RELATIONSHIP_MEMBERS_PROPOSAL.md) detailing the motivation, schema changes, usage scenarios, migration paths, and validation results for the enhanced relationship member types.

Test and Metadata Updates

  • Ensured full test coverage for the new functionality (11/11 tests passing), and updated the msgraph-metadata submodule to reference the latest commit.

These changes enable advanced Microsoft Graph Bicep template scenarios with improved flexibility and maintainability, while ensuring existing implementations remain unaffected.

#235

Microsoft Reviewers: Open in CodeFlow

@FehintolaObafemi FehintolaObafemi force-pushed the FehintolaObafemi/RelationshipMembers branch from fe0c87d to 90d9eb0 Compare October 27, 2025 23:40
@FehintolaObafemi FehintolaObafemi force-pushed the FehintolaObafemi/RelationshipMembers branch from 90d9eb0 to 9296145 Compare November 18, 2025 18:06
Comment thread generated/microsoftgraph/microsoft.graph/v1.1/0.1.1-preview/index.json Outdated
Comment thread RELATIONSHIP_MEMBERS_PROPOSAL.md
eketo-msft
eketo-msft previously approved these changes Jan 22, 2026
@FehintolaObafemi FehintolaObafemi force-pushed the FehintolaObafemi/RelationshipMembers branch from 6873ac3 to a12a0c9 Compare January 23, 2026 19:19
@FehintolaObafemi FehintolaObafemi marked this pull request as ready for review January 23, 2026 19:22
@FehintolaObafemi FehintolaObafemi requested a review from a team as a code owner January 23, 2026 19:22
@FehintolaObafemi FehintolaObafemi merged commit b0653cb into main Jan 26, 2026
6 checks passed
@FehintolaObafemi FehintolaObafemi deleted the FehintolaObafemi/RelationshipMembers branch February 19, 2026 19:44
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.

2 participants