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

allow customers to append custom distributions to the distribution array #23

Merged
merged 1 commit into from
Apr 22, 2022

Conversation

sonofflynn89
Copy link
Collaborator

@sonofflynn89 sonofflynn89 commented Apr 21, 2022

Part of https://devtopia.esri.com/dc/hub/issues/1188

To allow customers to add custom distributions to their feed via their dcat config, I made a few changes:
-Remove distribution from the list of non-editable fields
-Run customizations of distribution through adlib
-Prepend the result from adlib onto the final distribution array IFF the adlib result is an array

We are not adding any validation as part of this PR. If the dcat config's distribution field is an array, we just throw it in there.

@sonofflynn89 sonofflynn89 merged commit 7e76001 into main Apr 22, 2022
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.

2 participants