mrevutskyi / flask-restless-ng

A Flask extension for creating simple ReSTful JSON APIs from SQLAlchemy models.
https://flask-restless-ng.readthedocs.io
Other
64 stars 11 forks source link

APIManager insists on model having `id` field when library accounts for that. #4

Closed tanj closed 3 years ago

tanj commented 3 years ago

flask-restless will actually create an id attribute if a primary key exists and generates this exception in error when id is missing but a primary key exists for the model.

mrevutskyi commented 3 years ago

Thank you for the fix, released in v1.0.1