Coder Social home page Coder Social logo

Comments (5)

EnFinlay avatar EnFinlay commented on June 9, 2024 1

If I have time I'll help out where I can.

from web-api-commander.

darnjo avatar darnjo commented on June 9, 2024

Assuming there's still a question about the first item and type, I was expecting the name of the type to be that which was declared in the EDM. IIRC, in this case it was MemberComplexType?

In inspecting the primitive types, they always had accompanying type information for their values across various servers. I didn't have a lot to go by when a complex type was used, but I can look further into the specification and code and see what the expectation is. It could be that the conditions captured so far aren't sufficient to check for the case accurately when a complex type is used. Perhaps you could send me a sample of the metadata that contains the type info directly and I can verify it and debug further?

from web-api-commander.

EnFinlay avatar EnFinlay commented on June 9, 2024

I don't think the type should be a ComplexType, it should reference another EntityType in the EDM http://docs.oasis-open.org/odata/odata/v4.0/errata03/os/complete/part3-csdl/odata-v4.0-errata03-os-part3-csdl-complete.html#_Toc453752536. Example in the docs: <NavigationProperty Name="Supplier" Type="Self.Supplier" />. I don't know how to check this in the code though - I looked through the docs and couldn't find anyway of getting the type in this situation.

I've added Navigation Properties to our metadata, so you should be able to see them with your access_token. (https://api.bridgedataoutput.com/api/v2/OData/abor_ref/$metadata)

from web-api-commander.

darnjo avatar darnjo commented on June 9, 2024

from web-api-commander.

darnjo avatar darnjo commented on June 9, 2024

The tests referenced in this issue will be addressed by Web API Core 2.1.0. See #143.

from web-api-commander.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.