这是indexloc提供的服务,不要输入任何密码
Skip to content

Event trigger specs: Improve the error message when none among the insert/update/delete operations are specified #998

@nizar-m

Description

@nizar-m

For this create event trigger spec

type: create_event_trigger
args:
  name: foo_bar
  table: foo
  webhook: http://bar

The error message is currently

code: parse-failed
error: must provide operation spec(s) 
path: '$[0]'

It would be easier to debug if the error message is something like this

code: parse-failed
error: at least one among the insert/update/delete operation specs must be provided
path: '$[0]'

Metadata

Metadata

Assignees

Labels

c/serverRelated to server

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions