refit
refit copied to clipboard
[BUG] Query delimiter is not working in property
Describe the bug
If you set Query delimiter on property it will not work
public class Params
{
[Query("")]
public string q { get; set; }
}
After entering the source code, I found that it only looks for the outermost delimiter(That is to say, AttributeTargets.Parameter
level)
https://github.com/reactiveui/refit/blob/246ee8d9989c29092fdaba6821d5b3098a5ccf9e/Refit/RequestBuilderImplementation.cs#L654
https://github.com/reactiveui/refit/blob/246ee8d9989c29092fdaba6821d5b3098a5ccf9e/Refit/RequestBuilderImplementation.cs#L349
Steps To Reproduce
Expected behavior
Screenshots
Environment
- OS:
- Device:
- Version:
- Working Version:
Additional context