Skip to content

feat(resource-as/ema): Add types, options schema and registry for EMA 2026-07-28 conformance test for Resource AS - #592

Open
tnorimat wants to merge 1 commit into
modelcontextprotocol:mainfrom
Hitachi:ISSUE-591-EMA-2026-07-28
Open

tnorimat wants to merge 1 commit into
modelcontextprotocol:mainfrom
Hitachi:ISSUE-591-EMA-2026-07-28

Conversation

@tnorimat

@tnorimat tnorimat commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

closes #591

Motivation and Context

described in #591

How Has This Been Tested?

  • npm test
    Test Files 48 passed (48)
    Tests 641 passed (641)

Breaking Changes

nothing

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

… test for Resource AS

closes modelcontextprotocol#591

Signed-off-by: Takashi Norimatsu <takashi.norimatsu.ws@hitachi.com>
@pkg-pr-new

pkg-pr-new Bot commented Nov 18, 2026

Copy link
Copy Markdown

Open in StackBlitz

npx https://pkg.pr.new/@modelcontextprotocol/conformance@592

commit: 7be8cdf

@tnorimat tnorimat changed the title Add types, options schema and registry for EMA 2026-07-28 conformance test for Resource AS feat(resource_as/ema): Add types, options schema and registry for EMA 2026-07-28 conformance test for Resource AS Dec 1, 2026
@tnorimat tnorimat changed the title feat(resource_as/ema): Add types, options schema and registry for EMA 2026-07-28 conformance test for Resource AS feat(resource-as/ema): Add types, options schema and registry for EMA 2026-07-28 conformance test for Resource AS Dec 1, 2026
@tnorimat

tnorimat commented Dec 4, 2026

Copy link
Copy Markdown
Contributor Author

@Michito-Okai @pugsatoshi Hello, If you have some capacity, could you please review the PR?

@tnorimat tnorimat self-assigned this Dec 4, 2026
@tnorimat
tnorimat requested a review from a team December 4, 2026 10:10
Comment thread src/schemas.ts
// used as the ID-JAG `sub` claim. The IdP and the Resource AS may assign the
// same human different ids, so this is intentionally distinct from `sub`
// above. Optional — only needed for scenarios exercising `sub`.
idpSub: z.string().min(1, 'Subject cannot be empty').optional()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The error message is the same as the one that appears when 'sub' is not set. I think it would be clearer to change it so that it's easier to distinguish which error has occurred.

This branch has not been deployed

No deployments
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.

Add types, options schema and registry for EMA 2026-07-28 conformance test for Resource AS

2 participants