Mathew

Results 11 comments of Mathew

Idea: add overloading to support the official json schema type https://www.npmjs.com/package/@types/json-schema for hooks provided by Foalts. According to Open API spec 3.1, it will be a super set of jsonschema.

Idea2: Wish to support typescript interface for Configfile with hinted path. For example: ``` Config.get(path:AutoPath,...others) ```

I love foalts due to its simplicity and the philosophy behind it. Although the framework isn't mature enough(still not enough built in functions) for rapid prototyping and development, the simplicity...

Thanks @enepeti ! I have similar problem too with the `Config` system lacking of type hinting. My suggested solution will be something similar to vite js. We can have a...

> Or maybe something like this: > > ```ts > function getConfig(key: AutoPath, type, ...) { > return Config.get(key, type) > } > ``` It seems that AutoPath is a...

> Or maybe something like this: > > ```ts > function getConfig(key: AutoPath, type, ...) { > return Config.get(key, type) > } > ``` I have thought about another better...

Also, it would be better to support typescript config file as well.

Thanks for the great effort !

Can't wait to try!!

You can write your own disk that extends the original disk. For example: https://github.com/codeperate/foal-s3-disk-v3/blob/main/src/s3-disk.service.ts This is my own implementation that change the s3 disk service to use aws-sdk v3.