-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v3 #14
Comments
one open question is whether it's okay if everything is based on separate |
so... i re-wrote |
the key to a pluggable
in the simplest case, things.get(123) // where things.get is an async method translates to description: {
path: ['things', 'get'],
args: [123]
} and value: {
value: {
id: 123,
name: 'computer'
}
} or error: {
error: new Error('thing not found.')
} in this simple case, when a method is a stream (source, sink, or duplex), the result will be that stream. this means it's not serializable, but i'm not sure the |
let's be honest, in the end i want to re-write probably would help to really learn how
TODO more notes |
@pietgeursen began the re-write for version 3: https://github.com/ahdinosaur/vas/tree/v3. my plan is to go slow, aiming for a small and stable interface composed of many small modules, so if you feel any desire to test things as i go i'd really appreciate that. 😄 |
Yeah, that sounds fun. :) On Thu, 22 Sep 2016, 10:56 PM Mikey [email protected] wrote:
|
design now based on #20 |
permissions
with asyncbefore
,after
,around
hooksservice
andservices
toapi
handlers
tohandler
(rather than a list, return a single(req, res, next) => { next() }
function). or support both.The text was updated successfully, but these errors were encountered: