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

Simplify the usage of the Framework #30

Open
Mom0aut opened this issue Mar 12, 2024 · 0 comments
Open

Simplify the usage of the Framework #30

Mom0aut opened this issue Mar 12, 2024 · 0 comments
Labels
enhancement New feature or request feature New Feature help wanted Extra attention is needed

Comments

@Mom0aut
Copy link
Owner

Mom0aut commented Mar 12, 2024

Currently there is a lot of configuration needed to get the DynamicRelations working (DrmConfig,RealtionType)
It should be possible to streamline the usage of the framework to a simpler process.
Any suggestions are welcome

@Mom0aut Mom0aut added enhancement New feature or request help wanted Extra attention is needed feature New Feature labels Mar 12, 2024
Mom0aut added a commit that referenced this issue Oct 18, 2024
Related to #30

Simplify the usage of the DynamicRelations framework by reducing configuration requirements.

* **Annotation Changes**
  - Update `@Relation` annotation to include `ElementType.FIELD`.
  - Remove `sourceClass` attribute from `@Relation` annotation.

* **Processor Changes**
  - Remove `getSourceClass` method from `ReleationProcessor.java`.
  - Update `createEntityMetaData` method to remove `sourceObjectName` parameter.
  - Update `createDynamicRelationEntity` method to remove `sourceObjectName` parameter.

* **Documentation Changes**
  - Update `README.md` to reflect the simplified process.
  - Remove the `sourceClass` attribute from the "Add the @relation" section.
  - Remove the "Import Config Module for Component Scan" section.

* **File Deletion**
  - Delete `DrmConfig.java`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Mom0aut/DynamicRelations/issues/30?shareId=XXXX-XXXX-XXXX-XXXX).
@Mom0aut Mom0aut changed the title Simplify the usage of the framwork Simplify the usage of the Framework Nov 6, 2024
Mom0aut added a commit that referenced this issue Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature New Feature help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant