Consider using `diesel_table_macro_syntax` for parsing `schema.rs` files
Diesel internally uses the diesel_table_macro_syntax crate to parse the schema.rs file. It might be a good idea to just use the same code in dsync to make sure that it supports all of the macro syntax without keeping close track of all variants that are supported by diesel.
This sounds like a very good idea. Though I have not written any of the current parsing code - maybe there was a reason why existing Diesel macros were not used. @Wulf @hasezoey any thoughts / insights you can share on this?
any thoughts / insights you can share on this?
at least from my side, i didnt know such a crate existed and just refactored the existing parsing code since coming to this project.
Georg, thanks for bringing this to our attention. I wasn't aware you had split it so nicely :)