Replies: 1 comment 1 reply
-
I prefer the way it is currently since i believe it's easier to write a rule simply by opening the file in a text editor without the While I am open to change it, I am in ambiguity We are transforming it anyway here: https://github.com/U-C-S/Hurl/blob/main/Source/Hurl.Library/Models/Ruleset.cs |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Idea: do not build the type into the rule string, but let this be a separate field in the JSON. This can make handling of the code easier, and removes the prefix, so users don't have to deal with this (read: can't make mistakes). I think in the UI a ComboBox would be great, because it makes it very easy to set (bind with RuleMode).
Example:
Note
This means omitting the prefix will no longer be possible and therefore no longer allowed. (looking at you, schema)
Beta Was this translation helpful? Give feedback.
All reactions