Skip to content

Dove CLI Generated Boilerplate Confusion #2711

Answered by daffl
jamesvillarrubia asked this question in Q&A
Discussion options

You must be logged in to vote

As you mentioned I think a few of those points are things that should be added to the documentation specifically to the CLI guide (https://dove.feathersjs.com/guides/cli/index.html) I am working on. Since hooks still work as is (in addition to the new - but as always entirely optional - hook type that allows to control a before, after and error flow in the same hook function), everything done in schemas and resolvers can still also be done in hooks (in fact, both schema validation and resolvers are just a hook and part of the flow as can be seen e.g. in https://github.com/feathersjs/feathers-chat/blob/dove/typescript-api/src/services/messages/messages.class.ts#L10). A basic description of…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jamesvillarrubia
Comment options

@daffl
Comment options

Answer selected by jamesvillarrubia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants