Replies: 1 comment 1 reply
-
Hi @pennan88 No, it's not possible. For those scenarios we recommend that people use overlays to apply patches to an existing specification they don't own. Use third party tooling to generate the patched specification, and then feed that to kiota. The overlay itself can be committed to the repository. Let us know if you have any additional comments or questions. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a customer who uses a CRM system and has created a schema that I used in Kiota to generate all the models. However, the customer made some mistakes with the date fields—some are labeled as $date-time, while others are just $date. As a result, some fields are generated as
Date?
, while others becomeDateTimeOffset?
. They should all beDateTimeOffset?
Ideally, they would fix their documentation, but that would likely take a long time. I’d rather not modify the schema myself in case we need to regenerate it later.
I tried extending the existing model with my own property, but that didn’t work.
Is it possible to extend or override the GetFieldDeserializers?
Beta Was this translation helpful? Give feedback.
All reactions