-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for adhoc parameters on an action post #30
Comments
What do you mean by "the action is dynamic and unknown"? If an action isn't provided by the server, the client shouldn't be able to submit it. |
In a case we support an action but not quite sure all the inputs. For this service I'm working on, there's an action to be able to send a template with fields and it will generate a document. The issue is the fields in the document cannot be known ahead of time so the action only states how to load the document but cannot tell you anything else about it. |
Very interesting use case. So, there is input, but the server doesn't know exactly what. Would it not know the fields from the template it's using? If not, how is the client supposed to know them if the server doesn't? Domain aside, I'm not sure we should support adding arbitrary fields to an action. The server should be telling the client what it expects. Perhaps a special kind of action or field allows this, but I'm hesitant to support it for any action. |
@miller79 What if we add support for a new field As for the field, the |
Yeah that's pretty much exactly what I was hoping for. |
Then we just need to figure out 1) the name of the field |
Sometimes the action is dynamic and unknown until you send the message. It would be good to be able to just add other parameters to send with the request if needed.
The text was updated successfully, but these errors were encountered: