Hello, first off - what a great idea for a library.
I'm having a play with this for the first time, and thought it would be a good idea to add it to the benchmarks in EfficientDynamoDb, however I'm running into a bit of an issue. After adding the source generator package and the DynamoDBMarshaller attribute. I am getting compilation errors due to the following generated code:
public static global::System.Collections.Generic.HashSet<string?>? HashSet_String(AttributeValue? attributeValue, global::Benchmarks.Entities.MixedEntity.MarshallerOptions options, string? dataMember = null)
{
if (attributeValue is null || attributeValue.SS is null)
{
return null;
}
return new (attributeValue.SS));
}
The final return line doesn't use the type name after new, which is fine because the language syntax will infer it, however the braces are unmatched.
The type I'm using can be found here. Please let me know if there any more details I can provide 🙂
Hello, first off - what a great idea for a library.
I'm having a play with this for the first time, and thought it would be a good idea to add it to the benchmarks in EfficientDynamoDb, however I'm running into a bit of an issue. After adding the source generator package and the
DynamoDBMarshallerattribute. I am getting compilation errors due to the following generated code:The final return line doesn't use the type name after
new, which is fine because the language syntax will infer it, however the braces are unmatched.The type I'm using can be found here. Please let me know if there any more details I can provide 🙂