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

[CPS-142] Update prettyTitle to cover capitalising id,ids and url #147

Conversation

jdon
Copy link
Contributor

@jdon jdon commented Feb 17, 2020

To adhere to connector standards, schema object titles that include id, ids or url should be capitalised.

This currently requires manually setting a title property on the schema object.

This PR adds some regex matching and replacing in prettyTitle.js to cover converting this.

@TrayProd TrayProd changed the title Update prettyTitle to cover capitalising id,ids and url [CPS-142] Update prettyTitle to cover capitalising id,ids and url Feb 17, 2020
Copy link
Contributor

@Johnbastian Johnbastian left a comment

Choose a reason for hiding this comment

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

LGTM

@Johnbastian Johnbastian merged commit 27b3cae into CPS-194/f/falafel-1-26-0-release Feb 17, 2020
@Johnbastian Johnbastian deleted the jonathan-donaldson/CPS-142/falafel-schemas-objects-named-with-_id-should-generate-a-correct-title branch February 17, 2020 17:28
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.

3 participants