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

Flatter implemented #60

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Conversation

EugeneDar
Copy link
Member

@EugeneDar EugeneDar commented Jun 29, 2023

PR-Codex overview

This PR focuses on adding copy and reframe methods to the Entity class and implementing them in the Empty, Data, Lambda, FlatObject, and NestedObject classes.

Detailed summary

  • Added copy() and reframe() methods to the Entity class.
  • Implemented copy() and reframe() methods in the Empty, Data, Lambda, FlatObject, and NestedObject classes.
  • Added getters for data, function, path, name, and locator in the Data, Lambda, Locator, FlatObject, and NestedObject classes.
  • Updated toString() method in the Lambda and FlatObject classes to use the getter methods.
  • Added Flatter class for flattening objects in the ObjectsBox.
  • Implemented flat(), flatOne(), removeUnusedObjects(), resuspendLocalBinds(), and renameObjects() methods in the Flatter class.

The following files were skipped due to too many changes: src/main/java/org/objectionary/Flatter.java

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@EugeneDar EugeneDar marked this pull request as draft June 29, 2023 09:55
@EugeneDar
Copy link
Member Author

EugeneDar commented Jun 29, 2023

@yegor256 @Graur
Since I am discontinuing work on this project, I am passing this PR on to you as the final representation of the final transformation. Please take care of it.

You may have questions about implementing the functionality of this repository as well as writing integration tests. For that reason, I am attaching this link, which is ALL the code written (it just hasn't been refactored):
https:/EugeneDar/flatty/tree/finished

@Graur Graur mentioned this pull request Jul 3, 2023
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.

1 participant