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

Links with foreignIdentityField #403

Merged

Conversation

bhunjadi
Copy link
Contributor

Implementation of a feature as discussed in #396

@copleykj
Copy link

Is there any chance of getting this looked at and possibly merged?

@bhunjadi bhunjadi mentioned this pull request Oct 23, 2023
@StorytellerCZ
Copy link
Collaborator

@bhunjadi please resolve the conflicts and merge from master to run the tests.

@bhunjadi
Copy link
Contributor Author

@StorytellerCZ
Done, this one was not that easy.

@StorytellerCZ StorytellerCZ linked an issue Oct 25, 2023 that may be closed by this pull request
}

throw new Meteor.Error('invalid-type', `Unrecognized type: ${typeof what} for managing links`);
}

getId(what, options) {
if (typeof what === 'string') {
if (_.isString(what)) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Any reason why use underscore instead of native?

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 think I just followed the standard practice in the repo in 2019.
I'll change it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated:
fb271e9

README.md Outdated Show resolved Hide resolved
@StorytellerCZ
Copy link
Collaborator

Also I think this will need an addition to the docs.

@bhunjadi
Copy link
Contributor Author

Docs & readme updated. Also removed _.isString()

@StorytellerCZ StorytellerCZ merged commit c27e240 into cult-of-coders:master Nov 6, 2023
6 checks passed
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.

[Question] Links with foreign field
3 participants