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

Add adapter dispatch pattern for path extraction #272

Merged
merged 2 commits into from
Sep 26, 2023

Conversation

adamribaudo-velir
Copy link
Collaborator

Description & motivation

It can be helpful for users of the package to override the page path extraction to accommodate implementation issues. This PR applies the adapter dispatch pattern to the extract_page_path macro.

Checklist

  • I have verified that these changes work locally
  • [na] I have updated the README.md (if applicable)
  • [na] I have added tests & descriptions to my models (and macros if applicable)
  • I have run dbt test and python -m pytest . to validate existing tests

@adamribaudo-velir
Copy link
Collaborator Author

There is an issue with the unit tests that we're working through. I'm going to merge this in the meantime.

@adamribaudo-velir adamribaudo-velir merged commit c267f03 into main Sep 26, 2023
1 check failed
@adamribaudo-velir adamribaudo-velir deleted the feat-url-parsing-dispatch branch September 26, 2023 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant