Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

change userId to be string. remove broken mrr. #53

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zemberdotnet
Copy link
Contributor

Description

userId should be a string. If you can't add, subtract, multiply, and divide, then it's not a number 😃

I also removed a mapped relationship that has surely never been created. The property email pointed to the userId which is a number...

@zemberdotnet zemberdotnet requested a review from a team as a code owner July 3, 2024 16:11
id: user.id,
userId: user.userId as number,
username: user.username as number,
email: user.userId as number,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The email isn't a number...

@jzolo22
Copy link
Contributor

jzolo22 commented Jul 8, 2024

From the Slack conversation, it sounds like we might be able to remove the Person entity altogether here?
https://github.com/JupiterOne/graph-snipe-it/blob/c9291a87b8943bac3dd9554c4202eabb44b3d1e4/src/steps/constants.ts#L67

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants