You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, I have a downstream endpoint /aaa?cust-nums=1
Normally, we write Sysl as:
/aaa:
GET ?cust-nums=string:
return ok <: Result
But when run the sysl binary, it throw errors below:
mismatched input 'cust-nums=string' expecting Name
At the moment, "-" is not supported in parameter name. Since I can't change the downstream definition, I was wondering whether there's a workaround in Sysl?
The text was updated successfully, but these errors were encountered:
Enables the use of special characters such as - . etc in Query Param names
Fixesanz-bank/sysl-go#115
Changes proposed in this pull request:
Add support for special chars in query params
For example, I have a downstream endpoint
/aaa?cust-nums=1
Normally, we write Sysl as:
But when run the sysl binary, it throw errors below:
At the moment, "-" is not supported in parameter name. Since I can't change the downstream definition, I was wondering whether there's a workaround in Sysl?
The text was updated successfully, but these errors were encountered: