Skip to content

b/2880 added fallback logic #13

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

Merged
merged 1 commit into from
Jan 5, 2022
Merged

b/2880 added fallback logic #13

merged 1 commit into from
Jan 5, 2022

Conversation

drspacemanphd
Copy link
Contributor

2880 - It appears that during the migration, handling of fallback logic (path hierarchies in adlib terms) was not implemented when converting adlib dependency specifications to API fields. This re-introduces it. Note that the adlib spec allows for the last field of a path hierarchy to be either a valid Hub API field or a literal (see here under Path Hierarchies with Defaults) but there is no syntax to differentiate them. This implementation makes a request for valid fields, such that if the last field is a valid API field, it is used in the search request. Otherwise, it is not.

@drspacemanphd drspacemanphd self-assigned this Jan 5, 2022
@drspacemanphd drspacemanphd merged commit efb3fd6 into main Jan 5, 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