Hubert Drecker

Results 95 comments of Hubert Drecker

Hi @aschmidt93, could you please take a look. Does the current implementation solve your issue?

Hi @felix-schindler, can you give me an example of when that happens? I would need the EDMX part for the given EntityType, ComplexType or whatever it is...

Hi @felix-schindler, checked this against generated stuff in the repo: This interface is used in the generated code (as you say) but it gets exported. Compare [the code](https://github.com/odata2ts/odata2ts/blob/main/packages/odata-service/src/ODataServiceOptions.ts). In the...

Hi @brandonryan, nice point, `signal` will be added to: https://github.com/odata2ts/http-client/blob/main/packages/fetch/src/FetchRequestConfig.ts#L9 Actually, it's "only" the typing of the fetch request options that is over-restrictive. So you can pass any valid [fetch...

Solved with release `@odata2ts/[email protected]`. Please test and close this issue if successful.

Hi @brease-colin, that happens because of the casting. Since odata2ts doesn't know, that you are casting the `Event` to an `Appointment`, it uses the Q-object for the event instead of...

This is essentially the same problem: odata2ts only knows that the response object is of type `Event`, which doesn't contain the `LocationId`. Only the server (and the user) knows what...

> The user doesn't though as it's a list of items which can all be of different sub types. [...] The EDMX does know it, because it's an abstract class...

Hi @brease-colin, this is somewhat hard to get right. From the [spec](https://docs.oasis-open.org/odata/odata-json-format/v4.01/odata-json-format-v4.01.html#sec_ControlInformationtypeodatatype): > The type control information MUST appear in requests and in responses with [minimal](https://docs.oasis-open.org/odata/odata-json-format/v4.01/odata-json-format-v4.01.html#sec_metadataminimalodatametadataminimal) or [full](https://docs.oasis-open.org/odata/odata-json-format/v4.01/odata-json-format-v4.01.html#sec_metadatafullodatametadatafull) metadata, if...

Hi @brease-colin, yeah was a bit lost there and wanted a sparrings partner, I think... In any case, you should now get first class support for handling derived entity types....