GetDutchie / brick

An intuitive way to work with persistent data in Dart

Home Page:https://getdutchie.github.io/brick/#/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to prevent an attribute from being generated for the ToRest adapter

hortigado opened this issue · comments

image
image

Hi, I'm trying to implement brick with appwrite, but appwrite has a particularity and that is that the $id of the document is sent as a documentId attribute outside of the document information; I solved this with supplementalTopLevelData. Is there a way to prevent this attribute from being generated in ToRest currently I manually omit it in the generated adapter.

image
Resolved with ignoreTo