Skip to content

Conversation

andrewnicols
Copy link
Contributor

@andrewnicols andrewnicols commented Jun 19, 2024

Based on #89

This allows for configuration of the placeholder overiding an attribute behaviour as discussed in #86.

If there's a more appropriate way to handle this configuration, I'm happy to change it. I don't find the current approach very elegant but I can't see a better way right now (though it is nearly 1am).

It's worth noting that this change does not change the parameter value to be the attribute, it merely stops the attribute from being overwritten by the placeholder value if a value is already set.

In our usage we need to extend the ControllerInvoker to have responses
normalised from a generic Payload into a standard Response.

To make this easier it would be helpful if some private methods were
instead protected and the Invoker fetching the default resolver chain
were separated out from the creation of the ControllerInvoker.

Fixes #105
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant