You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move all SQL related top level constants (Y, N, etc.) and functions (AND, OR, NOT, MAX, MIN, etc.) to a new library. Back their implementations with globaThis based injection references (allowing for version numbers):
export const Y = globalThis.IOC.getSQLObject('Y', '2.0.0')
export const AND = globalThis.IOC.getSQLFuction('AND', '2.0.0')
This should be done before hot loading is enabled (eventually). The @airport/tarmaq-sql will be included in every patch that has DAOs in it but will be just a pass though object to the underlying injectable functionality.
The text was updated successfully, but these errors were encountered:
For ability to hot load:
Move all SQL related top level constants (Y, N, etc.) and functions (AND, OR, NOT, MAX, MIN, etc.) to a new library. Back their implementations with globaThis based injection references (allowing for version numbers):
export const Y = globalThis.IOC.getSQLObject('Y', '2.0.0')
export const AND = globalThis.IOC.getSQLFuction('AND', '2.0.0')
This should be done before hot loading is enabled (eventually). The @airport/tarmaq-sql will be included in every patch that has DAOs in it but will be just a pass though object to the underlying injectable functionality.
The text was updated successfully, but these errors were encountered: