refit icon indicating copy to clipboard operation
refit copied to clipboard

[BUG] Query delimiter is not working in property

Open lauglam opened this issue 2 years ago • 0 comments

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

image

image

Environment

  • OS:
  • Device:
  • Version:
  • Working Version:

Additional context

lauglam avatar Mar 29 '22 10:03 lauglam