bleupen / halacious

a better HAL processor for Hapi
MIT License
108 stars 22 forks source link

HAL Forms support? #82

Open legomind opened 8 years ago

legomind commented 8 years ago

I see #78, but this is more of a feature request.

Something as simple as this could be used to mark a route as a form.

server.route({
  method: 'POST',
  config: {
    handler: (req, reply) => {/*...*/},
    plugins:{
      hal:{
         form: true,
       },
    },
  },
})
bleupen commented 8 years ago

Is this the spec you are referencing? http://mamund.site44.com/misc/hal-forms/

legomind commented 8 years ago

Yes. Indeed.