I also worked in some middleware helpers I had been using in our own repo. Our existing ones had a bug where if you had a function with args but no validator, the session middleware would fail because it would have a partial validator for the session ID.
I also changed the ConvexReactClientFake to use registerMutationFake. The test mocking the import doesn't seem to pass and I'm not really sure why...
Built off of https://github.com/get-convex/convex-helpers/pull/31
I also worked in some middleware helpers I had been using in our own repo. Our existing ones had a bug where if you had a function with args but no validator, the session middleware would fail because it would have a partial validator for the session ID.
I also changed the
ConvexReactClientFake
to useregisterMutationFake
. The test mocking the import doesn't seem to pass and I'm not really sure why...