Google.Protobuf.WellknownTypes.Value regression in ^2.7.4
See original GitHub issueIn both versions 2.7.4 and 2.8.0, there is a regression on generating Google.Protobuf.WellknownTypes.Value instances; this used to work as late as version 2.7.3. Using Google.Protobuf 3.11.4, I am able to reproduce the issue with the below console app. Generating throws an AmbiguousMatchException.
using Google.Protobuf.WellKnownTypes;
using System;
namespace AutoBogus.ValueIssue
{
class Program
{
static void Main(string[] args)
{
var genClass = AutoFaker.Generate<ProtobufClass>();
Console.WriteLine($"{nameof(ProtobufClass.Value)}: {genClass.Value}");
}
}
public class ProtobufClass
{
public Value Value { get; set; }
}
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Google.Protobuf.WellKnownTypes.Value Class Reference
Google.Protobuf.WellKnownTypes.Value. Value represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct ...
Read more >Open Source License File
* You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Read more >Open Source License File
FMDB-2.7.4 If you are using FMDB in your project, I'd love to hear about it. ... Protobuf/WellKnownTypes/ValuePartial.cs protobuf-master/csharp/src/Google.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Wanted to say thanks - this is working for us now. Sorry for the long delay. We really appreciate this library and your efforts a lot.
Thank you @nickdodd79 we will try it out presently!