Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(mockapi): dotnet compatibility failure #769

Merged
merged 2 commits into from
Nov 11, 2024

Conversation

archerzz
Copy link
Member

dotnet uses different but compatible datetime format, so the comparison should use coercedBodyEquals

Cadl Ranch Contribution Checklist:

  • I have written a scenario spec
  • I have meaningful @scenario names. Someone can look at the list of scenarios and understand what I'm covering.
  • I have written a mock API
  • I have used @scenarioDocs for extra scenario description and to tell people how to pass my mock api check.

Copy link

changeset-bot bot commented Nov 11, 2024

🦋 Changeset detected

Latest commit: 35058b8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@azure-tools/cadl-ranch-specs Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

dotnet uses different but compatible datetime format, so the comparison should use `coercedBodyEquals`
Copy link
Member

@weidongxu-microsoft weidongxu-microsoft left a comment

Choose a reason for hiding this comment

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

After merge, you need to sync it back to microsoft/typespec

@archerzz archerzz enabled auto-merge (squash) November 11, 2024 07:38
@archerzz archerzz merged commit bb6a2dd into Azure:main Nov 11, 2024
9 checks passed
@archerzz archerzz deleted the fix-donet-compatibility branch November 11, 2024 07:39
archerzz added a commit to archerzz/typespec that referenced this pull request Nov 11, 2024
this is a backport of Azure/cadl-ranch#769
dotnet SDK uses a different but compatible datetime format, so we should use `coercedBodyEquals`, instead of exact match.
github-merge-queue bot pushed a commit to microsoft/typespec that referenced this pull request Nov 13, 2024
This is a backport of Azure/cadl-ranch#769
dotnet SDK uses a different but compatible datetime format, so we should
use `coercedBodyEquals`, instead of exact match.
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