Skip to content

Conversation

@AndrewTriesToCode
Copy link
Contributor

@AndrewTriesToCode AndrewTriesToCode commented Jan 7, 2026

In v10 a breaking change was the removal of ITenantInfo and TenantInfo changed to a record in the name of immutability. Based on community feedback this is reverted. ITenantInfo is back and TenantInfo is a basic class implementation. This is technically a breaking change but will be treated as a fix for versioning.

Closes #1073

@AndrewTriesToCode AndrewTriesToCode changed the title Fix/add tenantinfo interface re-add tenantinfo interface Jan 7, 2026
/// Information about the tenant for this context.
/// </summary>
TenantInfo? TenantInfo { get; init; }
ITenantInfo? TenantInfo { get; init; }
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It likely doesn't concern any code I'd author, but do you need init here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree, I have removed the initial accessors here

Copy link

@atrauzzi atrauzzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All in all, looks good. Just a comment on an init in an interface. Could probably broadly apply that question everywhere. But yeah, looking forward to this! 🙂

@AndrewTriesToCode AndrewTriesToCode merged commit 4b4db14 into main Jan 9, 2026
8 checks passed
@AndrewTriesToCode AndrewTriesToCode deleted the fix/add-tenantinfo-interface branch January 9, 2026 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Switch to TenantInfo over ITenantInfo seemed unnecessary

3 participants