You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like #[serde(skip)] will work to instruct butane to skip the field for db serialisation, however my structs get serialised to HTTP and to the DB, and I would like to serialise these fields to HTTP but not to the DB.
The two use-cases for this at the moment are:
some of the fields are not supported by butane, e.g. GIS and JSON
some of the fields are not allowed to be stored in the DB; they are managed differently to make regulatory compliance easier.
The text was updated successfully, but these errors were encountered:
It looks like
#[serde(skip)]
will work to instruct butane to skip the field for db serialisation, however my structs get serialised to HTTP and to the DB, and I would like to serialise these fields to HTTP but not to the DB.The two use-cases for this at the moment are:
The text was updated successfully, but these errors were encountered: