Wulf / dsync

Generate rust structs & query functions from diesel schema files
Other
70 stars 13 forks source link

Change default for tsync #100

Open Wulf opened 11 months ago

Wulf commented 11 months ago

After thinking about this for some time, I've come to the conclusion that #[tsync] additions shouldn't be the default like it currently is. Users should manually copy and edit the generated read struct and filter out any properties that may contain sensitive information not bound for the frontend

hasezoey commented 11 months ago

some extra context, currently the tsync feature is enabled by default, but would still require using --tsync(argument) to actually generate #[tsync] derives.