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.
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: