Mark Lai

Results 38 comments of Mark Lai

`test.spec.js` ``` const { expect } = require("chai"); const sinon = require("sinon"); const featureFlagSdk = require("./file"); describe("test", () => { describe("createCustomIcon", () => { before(() => { sinon.stub(featureFlagSdk, "evaluate").resolves(true); });...

> Thanks! Would you be up for fixing this? I hope it should be pretty straightforward as the other transformers handles this correctly (I believe). > > I suggest adding...

Just come across the same issue, I uses the official example for my RLS implementation and its not rolling back any of my interactive transaction ```ts rls.$transaction(tx=>{ // uses the...

@fnimick Never thought of overriding the `$transaction`, clever I've cleaned up your example and tested in my projects and working as expected Here is my implementation: - All in 1...

@fnimick I don't see the need of an library yet the rls implementation might vary that rather keep an example here than thinking about how to generalise it. There is...

@fnimick you can use `set local` for things more than RLS, RLS(to prevent other ppl seeing not your stuff) is only one of the implication I also use it to...

Recently hop in the turborepo train and trying to improve the local dev DX, I can't believe it's not a thing. Now I've to restart my multi backend setup every...

I'm having this issue as well in my ESM output service. The issue is with non-literal types like objects and enum, those are translated to a dynamic import by the...