Skip to content

Maintenance: deprecate AlbMultiValueHeadersSchema in favor of AlbSchema for Parser #3522

Closed
@dreamorosi

Description

@dreamorosi

Summary

The AlbSchema & AlbMultiValueHeadersSchema are basically the same except for the latter extending the first by adding two properties. These two properties are mutually exclusive with the single-value version of headers and queryStringParameters and their presence depends on how the ALB is configured.

Because of this, we can deprecate the AlbMultiValueHeadersSchema, move the two properties within the AlbSchema and mark all four as .optional().

Why is this needed?

So that we can reduce the amount of built-in schemas customers have to choose from.

Which area does this relate to?

Parser

Solution

Mark the AlbMultiValueHeadersSchema as deprecated and move the two extended properties in the base AlbSchema.

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

Metadata

Metadata

Assignees

Labels

completedThis item is complete and has been merged/shippedinternalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)parserThis item relates to the Parser Utility

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions