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
Not sure if an issue or if im just approaching this wrong. but i am unable to use the the queryParameters of the request due to its protection level is internal.
let customRule: Server.Rule = .custom { request in
print(request.queryParameters)
let id = request.queryParameters.first(where: {$0.name == "id"})?.value
return id == "1"
}
'name' is inaccessible due to 'internal' protection level
'value' is inaccessible due to 'internal' protection level
The text was updated successfully, but these errors were encountered:
Oh no that is definitely an oversight on my part. Can definitely expose those properly. Did you want to try putting a PR together for it? Should be a fairly simple one, if not I will try and get to it
Not sure if an issue or if im just approaching this wrong. but i am unable to use the the queryParameters of the request due to its protection level is internal.
'name' is inaccessible due to 'internal' protection level
'value' is inaccessible due to 'internal' protection level
The text was updated successfully, but these errors were encountered: