flow_state
❔ Help with record types and Ef Core
I have created an entity that uses several value objects. The value objects are all properties on the entity, and they are record types that contain validation login in the ctor, like so
The problem is that I run into this error when trying to build the Asp.net core app to generate a swagger json file
Here is a snippet of the ef core configuration for this property
Note: The entity class itself is a regular class.
Not sure how to proceed from here. Any help is appreciated.
30 replies
Need Help with creating a JsonSchema
I need to create a JSON-Schema to validate some properties of a json object.
I'm using the
oneOf
property to perform some logic that has to match only one sub-schema.
My issue is that while testing, my json file keeps matching multiple entries in the oneOf
and I cannot figure out why.2 replies