Skip to content

Implement generalized get method #7

@kael-shipman

Description

@kael-shipman

Currently the get method is inelegant at best. It first prepares a SQLQuery, then executes the query, sometimes prepares the result, converts the result to jsonapi format, then inflates the result.

It would be nice to organize this method into an Algorithm pattern that utilizes hooks along the way to allow subclasses to alter the results, rather than having to rewrite the method every time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions