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

feat(matching-context): expose list of domains in API #449

Merged
merged 1 commit into from
Sep 14, 2021

Conversation

lutangar
Copy link
Member

Exposes the list of domains on which a matching context is applicable. It also exposes the path part of the regexp uses in mathching context...

Some current and previous vocabulary seems dodgy... maybe a DomainName should be renamed to Domain so we can use domainName only for the actual string version of the domain name...

Also urlPathRegex is not truly a path regex since the user can choose to match all domains... is that still supposed to be possible?

fix #446

Copy link
Member

@JalilArfaoui JalilArfaoui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice ! It’s great to have separated getDomains even if we didn’t need to expose it !

src/Serializer/V3/MatchingContextNormalizer.php Outdated Show resolved Hide resolved
Exposes the list of domains on which a matching context is applicable. It also exposes the *path* part of the regexp uses in mathching context...

Some current and previous vocabulary seems dodgy... maybe a `DomainName` should be renamed to `Domain` so we can use `domainName` only for the actual string version of the domain name...

Also `urlPathRegex` is not truly a *path* __regex__ since the user can choose to match all domains... is that still supposed to be possible?

> fix #446
@lutangar lutangar merged commit 03b4f84 into master Sep 14, 2021
@lutangar lutangar deleted the expose-domains branch September 14, 2021 08:59
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.

Expose domains in matching Api
2 participants