Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(validate): unsupport fields #95

Merged
merged 2 commits into from
Dec 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@ Release process:
1. test installing the rock from LuaRocks


### Unreleased

- fix: validator failure for some of the field types
[95](https://github.com/Kong/lua-resty-aws/pull/95)

### 1.3.5 (19-Sep-2023)

- fix: lazily initialize structures to avoid c-boundary errors on require
Expand Down
6 changes: 6 additions & 0 deletions src/resty/aws/request/validate.lua
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,8 @@ local validators do
type = always_pass,
deprecated = always_pass,
box = always_pass,
locationName = always_pass,
location = always_pass,
},ops_mt)


Expand Down Expand Up @@ -491,6 +493,7 @@ local validators do
locationName = always_pass,
sensitive = always_pass,
box = always_pass,
flattened = always_pass,
},ops_mt)
end

Expand Down Expand Up @@ -566,6 +569,9 @@ local validators do
deprecatedMessage = always_pass,
deprecated = always_pass,
sensitive = always_pass,
locationName = always_pass,
location = always_pass,
xmlNamespace = always_pass,
},ops_mt)


Expand Down
Loading