Webapi: Where is ModelState in 7.0? Documentation on upgrading from 6?

Created on 18 Oct 2018  路  3Comments  路  Source: OData/WebApi

after upgrading Microsoft.AspNet.OData from 6 to 7, I no longer have access to ModelState, or BadRequest() in my odata controllers.

I can't seem to find any documentation on a migration path from 6 to 7.

question

Most helpful comment

@madansr7 What code? He is asking for documentation on how to upgrade, which IS missing.

All 3 comments

@sheam, would you please share a sample of your code.

@madansr7 What code? He is asking for documentation on how to upgrade, which IS missing.

@sheam @NetTecture Added this to the backlog, I agree it will be helpful to have a documentation for upgrading but in the meanwhile, if you can share your code, we can help you debug any problem - like the one mentioned in the issue.

Was this page helpful?
0 / 5 - 0 ratings