You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 3, 2022. It is now read-only.
Basically the first route gets a paged list of documents, using page = 1 when not specified. And the second also accepts a string query to filter the documents.
So for translation I am using the following:
.ForAction(x => x.Documents(), new Type[] { typeof(Int32) }).AddTranslation("documentos")
.ForAction(x => x.Documents(), new Type[] { typeof(String), typeof(Int32) }).AddTranslation("documentos")
But I get the errors:
An expression tree may not contain a call or invocation that uses optional arguments
An expression tree may not contain a call or invocation that uses optional arguments
I tried a few variations of this but I always get an error.
Hello,
I am having a few problems to translate the following two routes:
Basically the first route gets a paged list of documents, using page = 1 when not specified. And the second also accepts a string query to filter the documents.
So for translation I am using the following:
But I get the errors:
An expression tree may not contain a call or invocation that uses optional arguments
An expression tree may not contain a call or invocation that uses optional arguments
I tried a few variations of this but I always get an error.
Any idea what might be wrong?
Thank You,
Miguel