Git Product home page Git Product logo

Comments (3)

commonsensesoftware avatar commonsensesoftware commented on May 24, 2024

Which version of the OData package are you using? I'm guessing you are upgrading a project or creating a new project which is using 6.0.0. There were some pretty significant changes to API and runtime behaviors in 6.0 (see OData 6.x Features for more details). There were a few places where I had to beat the OData APIs into submission, which required nasty, but unavoidable Reflection use. I suspect you are either encountering an incompatible binding redirect from the changes in the APIs or some internal piece of Reflection code is now broken.

Assuming this is your case, then my suggestion would be to use a previous release of the OData package - for now. All of the examples in this project are written against 5.9.1, but I suspect things will work all the way back to at least 5.6 (untested). That should unblock you.

If you can indeed confirm you are using 6.0, then I'll also file a bug that the library is incompatible with 6.0. I haven't dug deep into the changes for 6.0 yet, so I'm not sure how much work it will be; presumably minor. Until I've had some time to look into it, I can't say whether the fix will take a few days or a few weeks. Regardless, I'll start taking a look and get a fix out as soon as possible.

Thanks for reporting the issue. Apologies for the inconvenience.

from aspnet-api-versioning.

silkroadscott avatar silkroadscott commented on May 24, 2024

Thanks, I appreciate the quick response. I can confirm that I've been using version 6.0.0 of the package. I was planning to try starting fresh with an earlier version of the package to see if that made a difference, but I got hung up in meetings and hadn't had the time to try it yet. Thanks for your help.

from aspnet-api-versioning.

commonsensesoftware avatar commonsensesoftware commented on May 24, 2024

Changing this to an enhancement rather than a bug, since the latest, published API versioning package for OData now indicates that it's not compatible with the OData 6.0.0+ package.

from aspnet-api-versioning.

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.