phero icon indicating copy to clipboard operation
phero copied to clipboard

Full-stack type-safety with pure TypeScript

Results 37 phero issues
Sort by recently updated
recently updated
newest added

Currently we don't support object/array binding syntax in RPC arguments, like this: ``` export async function xxx([aap, noot]: [string, string]): Promise { } export async function yyy({aap, noot}: {aap: string,...

enhancement

We parse/analyse all throw'n errors of the user. All errors are put in the SDK. One exception now is errors thrown with the Promise/reject syntax. See `recursivelyFindThrowStatements.test.ts` Here's how we...

enhancement

Let the user introspect which data came in and went out in a request. Dependency on #49

enhancement

All requests are logged in the CLI. Let the user select and interact with certain requests: X=record Y=stop recording R=replay last RPC request By pressing R the user then can...

enhancement

```ts export namespace todo.aap { export const service = createService( { list, create, update, updateTodoStatus, markAllAsDone, remove, }, { middleware: [authenticate], } ); } ``` - [ ] Let the...

enhancement

Let the user add additional models by exporting them in `samen.ts`. Like this: samen.ts: ```ts export interface MyInterface { n: number } ```

enhancement

We assume things about `dist` and `src` in server and client projects, which we've worked around in the examples by adding the following in `tsconfig`: ``` "outDir": "./dist", "rootDir": "./src",...

enhancement

When you want to build from a specific manifest file, the currently supported syntax is: (inside a @samen/client project) `samen build ../api` make it also support: `samen build ../api/samen-manifest.d.ts`

enhancement

We need to throw a nice error since "delete" is reserved word. ```tsx export const articleService = createService({ delete: createFunction(getArticle), }) ```

enhancement

We're adding things to the tsconfig (in memory, in order to compile), but we need to throw an error instead, and let the dev fix it. https://github.com/samen-io/samen/blob/main/packages/server/src/commands/build.ts https://github.com/samen-io/samen/blob/main/packages/server/src/commands/export.ts https://github.com/samen-io/samen/blob/c9d559c3a452650e5773be25b1e53c02b232183e/packages/core/src/VirtualCompilerHost.ts#L13 https://github.com/samen-io/samen/blob/c9d559c3a452650e5773be25b1e53c02b232183e/packages/server/src/commands/serve/DevServerCompilerHost.ts#L15

enhancement