Skip to content

remove regexProperties validation - #1148

Merged
graphaelli merged 1 commit into
elastic:masterfrom
graphaelli:regex-properties
Jul 17, 2018
Merged

graphaelli merged 1 commit into
elastic:masterfrom
graphaelli:regex-properties

Conversation

@graphaelli

@graphaelli graphaelli commented Jul 17, 2018 •

Copy link
Copy Markdown
Contributor

Removes requirement that certain fields are valid regexes, as reported in #909.

I introduced at least one of these rules but misunderstood this directive's actual purpose: https://github.com/santhosh-tekuri/jsonschema/blob/v1.2.2/schema.go#L319-L325

closes #909

@simitt simitt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I completely misunderstood the usage of regexProperties. Thanks a lot for catching this @axw and fixing it @graphaelli !

@graphaelli
graphaelli merged commit 4d78117 into elastic:master Jul 17, 2018
@graphaelli
graphaelli deleted the regex-properties branch July 17, 2018 20:41
graphaelli added a commit to graphaelli/apm-server that referenced this pull request Jul 17, 2018
graphaelli pushed a commit to graphaelli/apm-server that referenced this pull request Jul 17, 2018
graphaelli added a commit that referenced this pull request Jul 17, 2018
graphaelli added a commit to graphaelli/apm-server that referenced this pull request Jul 17, 2018
graphaelli added a commit that referenced this pull request Jul 17, 2018
* remove regexProperties validation (#1148)

* fix failing test from #1148 (#1150)
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.

Inappropriate use of regexProperties in spec?

2 participants