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

WIP: Entity locator map #52

Closed

Conversation

jlreymendez
Copy link
Collaborator

Well this is my first approach to it. I decided to name it EntityLocator and EntityLocatorMap to avoid confusions between EUID and EGID.

I also realized I needed the map to be bidirectional in order to allow me to update it on entity submissions so once I already had this I figured having a similar interface as INeedEGID would be harder for me to implement than just allowing the entityDB to search from EGID to EntityLocator. So I decided to make the API in entitiesDB be: EntityLocator entitiesDB.GetLocator(EGID) and EGID entitiesDB.GetEGID(EntityLocator).

I have tests for this ready to be pushed, but we can merge them after we have finalize this feature.
We can discuss it over the week, I have a few questions about how I implemented a few things.

@sebas77 sebas77 closed this Nov 28, 2020
@sebas77 sebas77 deleted the branch sebas77:SECS_3_0_BETA November 28, 2020 19:49
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