mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 14:20:29 +01:00
how to set datetime for grpc field #660
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @GomesNayagam on GitHub (Dec 30, 2024).
Originally assigned to: @StefH on GitHub.
This throws "Bad Response"
@StefH commented on GitHub (Dec 31, 2024):
I think that there is an issue with the Timestamp field, I need to investigate.
@StefH commented on GitHub (Jan 3, 2025):
https://github.com/StefH/ProtoBufJsonConverter/pull/24
@StefH commented on GitHub (Jan 3, 2025):
https://github.com/WireMock-Net/WireMock.Net/pull/1231
@StefH commented on GitHub (Jan 3, 2025):
@GomesNayagam
can you please try preview version 1.6.11-ci-19550 ?
@GomesNayagam commented on GitHub (Jan 4, 2025):
sure i will test and reply here
@GomesNayagam commented on GitHub (Jan 4, 2025):
but WireMock.Net 1.6.11-ci-19550 was not found. An approximate best match of WireMock.Net 1.6.11 was resolved.
here the issue is same.i dont find any preview in package management too.
@StefH commented on GitHub (Jan 4, 2025):
See this page for info on how to use preview packages:
https://github.com/WireMock-Net/WireMock.Net/wiki/MyGet-preview-versions
@GomesNayagam commented on GitHub (Jan 6, 2025):
hey @StefH it did not work.
@StefH commented on GitHub (Jan 6, 2025):
Can you share the proto file?
@GomesNayagam commented on GitHub (Jan 6, 2025):
sure, here u go
code:
This below works:
This below is not working:
@StefH commented on GitHub (Jan 7, 2025):
Can you try this preview?
1.6.11-ci-19552
@GomesNayagam commented on GitHub (Jan 8, 2025):
@StefH datetime issue is fixed in this preview but the namespace is still not working.
here is the namespace line i added in my proto
option csharp_namespace = "NarrowIntegrationTest.Lookup";
using NarrowIntegrationTest.Lookup;
var channel = GrpcChannel.ForAddress(server.Url!);
@StefH commented on GitHub (Jan 8, 2025):
@GomesNayagam
I'm using this proto:
and this c# test code:
And it works fine.
@GomesNayagam commented on GitHub (Jan 8, 2025):
@StefH apologies, type in my code forgot to update the namespace in this line
.WithBodyAsProtoBuf(definition, "NarrowIntegrationTest.Lookup.GetVersionResponse", all good appreciate for the tolerance from the ignorant folks like me.
@GomesNayagam commented on GitHub (Jan 9, 2025):
which version the fix available to use? @StefH
@StefH commented on GitHub (Jan 9, 2025):
Today I'll release an official new version on NuGet.