flask-rest-jsonapi icon indicating copy to clipboard operation
flask-rest-jsonapi copied to clipboard

skipping create_object if object already exists

Open ayushais opened this issue 5 years ago • 0 comments
trafficstars

Hi,

I want to skip creating an object if it already exists. Using before_create_object I can check if the object already exists and then would like to return the object. Is it somehow possible to do this? or I have to create a custom data layer to implement my create_object function

ayushais avatar Oct 21 '20 08:10 ayushais