I would like to exclude some of my entries, via my own validation inside the Transformer, from the api output.

Is there a possibility to move on to the next Entry without outputing anything? Right now im just returning an empty array, but i think it would be cleaner to return nothing.

1 Answer 1


Couldn't you modify the criteria to exclude that entry ?

id => "not X"
  • I want to make the desicion after the criteria's, inside the transformer. Lets say get all Entries from a type but only output those that pass my own validation.
    – Leonardo
    Mar 19, 2019 at 7:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.