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

NIM-3358 - Add AA rels and classes #240

Merged
merged 2 commits into from
Oct 7, 2024

Conversation

TristanDevos
Copy link
Contributor

@TristanDevos TristanDevos commented Oct 7, 2024

@TristanDevos TristanDevos marked this pull request as ready for review October 7, 2024 19:34
@TristanDevos TristanDevos requested a review from a team as a code owner October 7, 2024 19:34
index.js Outdated
@@ -1,4 +1,6 @@
export const Rels = {
// rels with no domain (IANA)
self: 'self',
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'm not sure about this... would it be better just to use the 'self' string rather than adding this to hypermedia constants? I could go either way

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just thought about it, and the idea of having this is a constant is so that if we need to change it, we only need to change it in one place.
But since this is a standard rel identifier, it can't ever really "change" so doesn't really need to be here.

I'm gonna remove it from here

@TristanDevos TristanDevos merged commit a4f1fba into master Oct 7, 2024
1 check passed
@TristanDevos TristanDevos deleted the tdevos/NIM-3358/add-aa-constants branch October 7, 2024 19:47
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.

2 participants