Our code is generally used on both front-end and backend, with the same validation logic (write-once). If we wanted to use this library in our project, we'd have to make an #if FABLE_COMPILER block in each file that uses this library.
I feel that's a tough sell, and it might make the library more attractive if this was handled internally (e.g. the #if FABLE_COMPILER checks are in the library code directly.
Great library - but I have a nitpick.
Our code is generally used on both front-end and backend, with the same validation logic (write-once). If we wanted to use this library in our project, we'd have to make an
#if FABLE_COMPILER
block in each file that uses this library.I feel that's a tough sell, and it might make the library more attractive if this was handled internally (e.g. the #if FABLE_COMPILER checks are in the library code directly.
Would that be something that you might consider?