Sumanth Chinthagunta
Sumanth Chinthagunta
` z.string().datetime({ offset: true }).nullish()` throwing invalid error, when string is empty seams like wrong, especially when I chain with `.nullish()` I don’t like preprocess wrapper API. Prefer either **datatime({empty:...
Solutions with `transform` and `preprocess` make code less appealing and boilerplate code ( two times nullish() & string() etc.) I would like something like this: ```ts z.coerce.string({allowEmpty: false}).nullish().parse(''); // =>...
Thanks for clarifying. >If you opened up another issue about wanting an empty string to null coercer that would make more sense In my [use case](https://github.com/xmlking/svelte-starter-kit/blob/main/src/routes/(app)/dashboard/policies/%5Bid%5D/%2Bpage.server.ts#L183), I was transforming String...
Agree `z.emptyStringToNull()` is what I am looking for. It will be useful for many of my use-cases
something like this would be useful, Essential Azure Graph API needs auth_token to retrieve the user's profile picture ```html accounts ```
Other Option: `hooks.client.ts` should support `handleFetch` similar to `hooks.server.ts` then we can define fetch intercepter like this ```ts export const handleFetch: HandleFetch = async ({ event, request, fetch }) =>...
I finally found the root cause for this issue. my env: 1. ✅ SvelteKit project with `"@sveltejs/kit": "^2.0.0"` and some **prerendered** landing and blog routes 2. ✅ Using [@vite-pwa/sveltekit](https://vite-pwa-org.netlify.app/frameworks/sveltekit) for...
I am also facing `Can't resolve value (/listItems) : type mismatch error, expected type LIST got class kotlinx.coroutines.reactive.PublisherAsFlow` error any workaround ? https://github.com/xmlking/micro-apps/tree/main/services/spring-graphql-r2dbc
checking `graphql-kotlin-spring-server` spring project, looks like they support `Flow` but this project compatible with official spring graphql project. https://opensource.expediagroup.com/graphql-kotlin/docs/server/spring-server/spring-subscriptions
we still have this same problem with SvelteKit after signout, session is null but `nhost.auth.getAccessToken()` still return token