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

Simulated Soup #10

Open
seandenigris opened this issue Apr 21, 2022 · 2 comments
Open

Simulated Soup #10

seandenigris opened this issue Apr 21, 2022 · 2 comments

Comments

@seandenigris
Copy link
Owner

No description provided.

@seandenigris
Copy link
Owner Author

POC in 0271216

@seandenigris
Copy link
Owner Author

seandenigris commented May 17, 2022

Right now, the Soup handles the case of finding an object from a UID.

ObjectiveLepiter's model reference map handles a different case: how to build a reference from an object. This is currently done based on the object's class.

See OlObjectPageType class>>#modelReferenceForClass: and DbSoup class>>#detectUIDString36:

One solution would be to scrap the OL map completely and hold UIDs instead of reference objects. These could simply be passed to the soup. To manage the dependencies, OL would need a hook to specify an object source (probably a valuable), which for Dynabook would be the Soup, which could be passed as a message send to avoid block use, although maybe that's not important since it could be handled during setup vs. domain materialization.

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

No branches or pull requests

1 participant