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

Build a migration for variable names and option values #38

Closed
wwqrd opened this issue Jun 18, 2020 · 2 comments · Fixed by #39
Closed

Build a migration for variable names and option values #38

wwqrd opened this issue Jun 18, 2020 · 2 comments · Fixed by #39
Assignees
Labels
Architect enhancement New feature or request
Milestone

Comments

@wwqrd
Copy link
Contributor

wwqrd commented Jun 18, 2020

For interoperability variable names, and categorical/ordinal option values must be constrained.

There needs to be a migration to update older protocols.

  • properties to respect the constraint:
    /^[a-zA-Z0-9._\\-:]*$/
  • update all node/edge/ego variable names, e.g.
    codebook.node[uid].variables[variableUid].name
  • update all categorical/ordinal options values, e.g.
    codebook.node[uid].variables[variableUid].options[].value
  • Should also include making stage name unique: https://github.com/codaco/Architect/issues/650
@wwqrd wwqrd changed the title Build a migration for variable names Build a migration for variable names and option values Jun 18, 2020
@jthrilly jthrilly added the enhancement New feature or request label Jun 18, 2020
@jthrilly jthrilly added this to the stable milestone Jun 18, 2020
@jthrilly
Copy link
Member

Migration should also include rich information for the user, including the ability to link to a documentation article.

@jthrilly
Copy link
Member

Migration should also include making stage name unique: https://github.com/codaco/Architect/issues/650

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Architect enhancement New feature or request
Development

Successfully merging a pull request may close this issue.

2 participants