sql

All things SQL and JDBC...
seancorfield 2020-04-29T00:45:34.365200Z

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

3💯1👏
teodorlu 2020-04-29T08:52:47.366300Z

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?

seancorfield 2020-04-29T16:00:15.367700Z

Correct. If your project doesn't include Component, this feature doesn't do anything useful.

1👌
seancorfield 2020-04-29T00:46:11.365800Z

The expected usage is provided in the comment form. I'll document it fully before cutting the next release.

teodorlu 2020-04-29T08:52:47.366300Z

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?

seancorfield 2020-04-29T16:00:15.367700Z

Correct. If your project doesn't include Component, this feature doesn't do anything useful.

1👌