AspNetCore.Client icon indicating copy to clipboard operation
AspNetCore.Client copied to clipboard

Add BatchAttribute

Open Beffyman opened this issue 6 years ago • 1 comments

Add the following Attribute to the generator to influence generation.

BatchAttribute(int count)

Said attribute will require the following structure to be usable: IEnumerable<T> return type At least one IEnumerable<K> parameter. Other parameters are allowed and will be reused on each request.

Multiple requests will be paged from the IEnumerable<K> parameter with other parameters and be aggregated into the result of IEnumerable<T>

Use of this attribute will be rare, but only for large request loads that would either time out or reach max uri lengths unless done.

Beffyman avatar Oct 30 '18 00:10 Beffyman