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

API Enrichment: add ability to mark fields as missing #908

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

peel
Copy link
Contributor

@peel peel commented Jan 8, 2025

Previously it was impossible to send API enrichment request when any configured input was missing.
Now it is possible to set an additional new allowMissing flag. Setting the parameter to true skips the input as optional and sends API request with only the required inputs as well as other available optional fields.
Similarly to previous behaviour when no inputs were configured and the request was sent with empty input when no allowMissing fields are found the request is sent as empty.

Part of PDP-1641

Currently we are very strict about building inputs. When a single value is
missing it is no longer possible to use the existing inputs. This
backwards-compatible feature adds ability to mark fields as allowed to be
missing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant