Skip to content

Raise 404 if object not found #35

@iamareebjamal

Description

@iamareebjamal

Instead of raising 404 if an object is not found, the library tries to serialize it using the schema, hence causing marshmallow-code/marshmallow-jsonapi#302

What is the use case of this behaviour? Why not raise ObjectNotFound if object returned after get from data layer is None?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions