typeql icon indicating copy to clipboard operation
typeql copied to clipboard

Factor out typedb-common and typedb-proc-macro crates

Open dmitrii-ubskii opened this issue 1 year ago • 0 comments

Problem to Solve

Currently the typeql crate provides declarative macros used for code generation (string_enum!, error_messages!) in its common submodule.

Proposed Solution

Replace declarative macros with more powerful and readable proc-macros (requires a separate crate).

Separate other common helpers into their own crate so as to have a clearer separation of domains at point of use.

dmitrii-ubskii avatar Jul 13 '23 10:07 dmitrii-ubskii