americanas-tech / restQL-golang

Microservice query language and platform
http://restql.b2w.io/
MIT License
17 stars 8 forks source link

Explicit dependency with depends-on keyword #52

Closed caiorcferreira closed 3 years ago

caiorcferreira commented 3 years ago

This PR introduces a new keyword: depends-on. It allows for explicit dependency between statements.

P.S: if the depends-on target fails, like with a non-2XX response, the statement will not be excuted, unless the target has ignore-errors, in which case the statement will always be executed after the target finishes.