Comments (5)
Hey, thanks for the interest. I hear you about there being no alternatives, that's why I'm writing this. :)
I'm hoping to go 1.0 in the next couple of weeks. I'm developing this in parallel with a project that's using it, which is going to go live sometime in the next couple of weeks.
Things that are probably going to change in the API before 1.0:
- Right now authenticators just take in the context as an argument, but it would be nice to pass the security scheme in as well.
- Exegesis supports this concept of roles, but I've been doing a little work to refactor this out into a "plugin", so likely by 1.0 you'll need to include a plugin in your options to get that functionality.
- #2 will be fixed. It would be nice to fix #1, but I feel like it's a more esoteric use case and I can wait until later.
- Response validation is talked about in the docs, but it's not implemented yet, and it will be there very soon.
- I'm aiming for at least 90% test coverage.
So, if you can live with all of that, feel free to dig in and try stuff out. There's a bunch of documentation here. If you find anything unclear I'd like to know. :)
This is also my first typescript project, so if you know typescript, feel free to point out all the horrible typescript faux-pas I've made. :P And if you don't know typescript, I'm really enjoying it, so give it a try. :)
from exegesis.
Hi @jwalton, Thanks for detailed reply. This sounds perfect. I am hoping you are planning to maintain this beyond your project also. I will definitely give this a try.
Regarding TypeScript, I have not yet ventured into that territory. Somehow I don't like using Transpilers on Node side. Maybe someday I will get over that mental block.
Thanks.
from exegesis.
The project I'm building this for is called Loop. It's my company's main product, and I've been working on it for five years. Hopefully I'll be working on it a bit longer. :)
I hear you about transpiling Javascript. Our company made a big early investment into coffee-script, and now we have several hundred coffee-script files, but upgrading to the latest coffee-script breaks everything. -_- We've been slowly converting out .coffee files to .js. I was long reluctant to try another transpiled language after that (aside from using Babel to turn JS into JS). But one of the things I really like about Typescript is that it's essentially a super-set of JS. If you run the TS compiler and "target" the latest Javascript, it basically just takes out all the type annotations, leaving you with code that's basically exactly the same as the JS you would have written if you weren't using TS, comments and all. So if Microsoft screws this all up and makes a hash of TS, you have an escape route. :)
from exegesis.
Your product looks very interesting. Good work @jwalton
from exegesis.
from exegesis.
Related Issues (20)
- Can I have initialised/stateful controllers? HOT 2
- Can not demand an array to be one or more items long HOT 2
- Crash with recursive definition in referenced OpenAPI file HOT 5
- Incorrectly failing validation under a weird condition HOT 4
- Validation error of request body when oneOf is used HOT 5
- Crash with recursive definition in referenced OpenAPI file is back again
- Does not work well with newest json-ptr (1.3.1) HOT 2
- Your .dependabot/config.yml contained invalid details HOT 1
- Export class from controller HOT 2
- Could not find controller if controller is a .ts file HOT 2
- Can we access "ExegesisContext" at express middleware(app.use) not controllers/*.ts HOT 1
- How to filter the request body by only passing the defined requestBody schema? HOT 2
- Security vulnerability in `json-ptr` HOT 4
- Exegesis 3.0.0 using updated ajv outputs issues with OpenAPI spec, but 2.0.0 did not HOT 5
- res.redirect not supported HOT 3
- Is OpenAPI 3.1 supported?
- Bump json-ptr to fix security vulnerability HOT 1
- Support for additional string formats HOT 2
- json-schema-ref-parser dependency breaks node engine < 17 HOT 3
- How to use exegesis with multipart/form-data?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exegesis.