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

draft ADR for schema refactor #36

Merged
merged 12 commits into from
Jan 12, 2024
Merged

Conversation

mslarae13
Copy link
Contributor

No description provided.

@mslarae13 mslarae13 linked an issue Dec 20, 2023 that may be closed by this pull request
@mslarae13

This comment was marked as resolved.

@turbomam

This comment was marked as off-topic.

@mslarae13

This comment was marked as resolved.

Clean up template text from ADR.
## Decisions Made

### Class:PlannedProcess
* `Class:PlannedProcess` will be created as a root class
Copy link
Member

Choose a reason for hiding this comment

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

PlannedProcess is not a root class. It's a subclass of NamedThing.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was meaning to say it is a root for other classes. If root exclusively means the 'top most level' what is the right word here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@turbomam I'd like to merge this Friday morning. Any suggestions on a more appropriate word?

@eecavanna
Copy link
Collaborator

I'm done reviewing this. Thanks for writing it up!

@turbomam
Copy link
Member

turbomam commented Jan 8, 2024

@mslarae13 this is really good. The comments that appear form me above were written on the 3rd, but they were only visible to me until @aclum helped me release them to the public on the the 5th. I apologize for not checking in with you sooner. I think we can consider most of them low priority discussion starters.

I have opened a PR on this branch that emphasizes changing the syntax for referring to schema elements by either linking them or putting just the element name in backticks, since backticks mean this is something you would find literally in a code file or on the command line.

I also

  • fixed a small number of mis-typed element names or misleading statements about class relations
  • found a few things that we did agree on but haven't been implemented yet

I made small changes to almost every line, so the GH diff erroneously makes it look like I overwrote the whole thing.

Here's what it looks like, with my suggested changes, when rendered from Markdown.

If you don't want to accept my PR as is, I can help to add the parts that you would accept in individually.

@mslarae13
Copy link
Contributor Author

mslarae13 commented Jan 11, 2024

@turbomam I'll look at your PR from my branch. But can we call this one done (pending a couple comment responses).. merge my changes into your PR, and then I'll review? I'd like to do your updates separately.

Copy link
Contributor Author

@mslarae13 mslarae13 left a comment

Choose a reason for hiding this comment

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

@eecavanna @turbomam please see my responses

## Decisions Made

### Class:PlannedProcess
* `Class:PlannedProcess` will be created as a root class
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was meaning to say it is a root for other classes. If root exclusively means the 'top most level' what is the right word here?

Copy link
Member

@turbomam turbomam left a comment

Choose a reason for hiding this comment

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

This is good except for the new notation that it introduces. @mslarae13 I assume you made up this new notation because some people have had trouble reading one of the standard notations, so I'm support of trying something new.

Back-ticks are not just for changing the font used for schema elements. Everything that appears between back-ticks must be present in a source files, in its entirety, verbatim.

So Class:Biosample is not appropriate notation because the string "Class:Biosample" does not appear in any file in src/schema. If you think I'm wrong please share a screenshot or link.

If you think the prefixes are important, then at the very least, they should be moved out of the back-ticks, like Class:Biosample.

In the long run, links are much superior to formatted text. If you want to merge this ADR without links, I can help you add them later. But we shouldn't merge the ADR with the new notation style.

@eecavanna
Copy link
Collaborator

Thanks for making those changes and responding to all my feedback, @mslarae13. I am done re-reviewing and responding to all the unresolved conversations I was involved in.

@mslarae13 mslarae13 merged commit e432fc7 into main Jan 12, 2024
@mslarae13 mslarae13 deleted the 35-create-adr-for-schema-refactor branch January 12, 2024 23:18
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.

Create ADR for schema refactor
7 participants