Skip to content

Commit

Permalink
fix(db) fix propagation of nulls directive for record values
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamhm committed Sep 12, 2018
1 parent c14da0d commit 7c0ebe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/db/schema/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,7 @@ function Schema:process_auto_fields(input, context, nulls)
end
if field_value ~= null then
local field_schema = get_field_schema(field)
output[key] = field_schema:process_auto_fields(field_value, context)
output[key] = field_schema:process_auto_fields(field_value, context, nulls)
end
end

Expand Down

0 comments on commit 7c0ebe9

Please sign in to comment.