If you use Stuart Sierra's Component library with next.jdbc
, I've just added some experimental out-of-the-box support for it (without next.jdbc
requiring it as a dependency so it won't affect anyone who doesn't use Component!): https://github.com/seancorfield/next-jdbc/commit/66fdba4be9a80a85d5fc75df0a2341820b10fa22
Nice! If I understand correctly, you're using "extend via metadata" to extend the protocol without adding a dependency on the package the protocol is defined in?
Correct. If your project doesn't include Component, this feature doesn't do anything useful.
1👌The expected usage is provided in the comment
form. I'll document it fully before cutting the next release.
Nice! If I understand correctly, you're using "extend via metadata" to extend the protocol without adding a dependency on the package the protocol is defined in?
Correct. If your project doesn't include Component, this feature doesn't do anything useful.
1👌