Skip to content

Query Parser infer view #345

Closed
Closed
@ghbutton

Description

@ghbutton

Do you think it would be possible to use the QueryParser without specifying the view? The view is inferred (I think) if you dont use the QueryParser.

This is a code snippet that I thought we could try for:

defmodule Web.PostController do
  plug JSONAPI.QueryParser
...
end

I am happy to try to write the code if this makes sense

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions