You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a similar situation, different models with different operations but a common discriminator e.g:
public class Create
{
}
[JsonDiscriminator("M")]
public class CreateProject
{
}
public class Update
{
}
[JsonDiscriminator("M")]
public class UpdateProject
{
}
If 2 types have the same discriminator, you will get a duplicate key error.
For reproduction add to DiscrinatorTests :
The text was updated successfully, but these errors were encountered: