Discriminator field can't be used
See original GitHub issueHey, I was looking at the split feature instructions and noticed that the discriminator is set to be serialized as _discriminator but CouchDB will not allow that as shown in the picture below because _ character is considered special

Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (14 by maintainers)
Top Results From Across the Web
[JAVA] Cannot use single discriminator field for two-level ...
Description I would like to use "inheritance" via allOf in the spec, and I'd like more than one level for my request schemas....
Read more >Mongoose discriminator is ignoring an extra field
1 Answer. The issue is that you are treating Category model the same as the Allowance category discriminator model. You cannot save isPercent ......
Read more >How to use the OpenAPI discriminator
The discriminator explicitly declares which property you can inspect to determine the object type. Electric VehicleFueled VehiclePedaled Vehicle.
Read more >Solved: Error with discriminator
Solved: I'm trying to create an OpenAPI specification with a body with a discriminator field and two models, using oneOf.
Read more >The Discriminator Column Of The Persistent Type Is Set But ...
This error occurs when a persistent type is not mapped to a table but there is discriminator column specified at the same time....
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

Thanks a lot for the help
Okay, it works just fine, yea that actually makes sense that it’s better this way in the end 😄