Nico Schett

Results 91 comments of Nico Schett

I use the following: ```ts let currentProc: Subprocess | null = null let serve = async () => { if (currentProc) { currentProc.kill() await currentProc.exited } currentProc = Bun.spawn({ cmd:...

If anyone has this error, this is my workaround: ```ts const relativePathToScript = path.relative(process.cwd(), __dirname) app.get( '/__studio/*', serveStatic({ root: `${relativePathToScript}/../studio/dist`, rewriteRequestPath: path => { return path.replace('/__studio', '') }, onNotFound: (path,...

Hi, currently this is hardcoded in pylon but I will make it configurable via the `PylonConfig`. ```ts export const config: PylonConfig = { graphiql: false // process.env.NODE_ENV !== "production" }...

The config option (`graphiql: false`) is now also added after merging #94. Should disabling graphiql also automatically disable introspection, or do you want to add the plugin yourself?

Both `/graphql` (the GraphiQL UI) and `/viewer` rely on introspection to work properly. So if introspection is turned off, they won’t function correctly. To make things simpler, I suggest adding...

Hi, this is a bit tricky because GraphQL does not support input unions. How would you expect the respective graphql query to look like?

I general I think it would be possible to support this. I could calculate the union and mark all fields as optional (except shared ones). Where it gets tricky is...

I will work on this after #62. You can test the canary release then.

Hi @silverAndroid, I have to think on this matter a bit longer. For now I have created a typescript utility type that basically does what I proposed: ```ts interface HasEmail...

Hi @sam-lippert. Is there any progress yet? Sentry is currently working on a Hono guide that utilizes `@sentry/cloudflare`. The issue I have with it is that this only works with...