Implement data repository that would persist data in the controller#610
Merged
PTKu merged 15 commits intoMar 14, 2025
Merged
Conversation
…ist-data-in-the-controller
…ist-data-in-the-controller
…iguration and add new methods for data handling
…ist-data-in-the-controller
…ist-data-in-the-controller
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request includes several changes across multiple files to enhance the functionality of the AXOpen data exchange system. The most important changes involve the removal of abstract classes, updates to configuration files, and the addition of new methods and snippets.
Changes to Class Definitions:
src/core/ctrl/src/Mocks/MockAxoContext.st: Removed theABSTRACTkeyword from theMockAxoContextclass and theMainmethod, making them non-abstract. [1] [2]Configuration Updates:
src/data/app/AXSharp.config.json: ChangedSkipDependencyCompilationfromtruetofalseto ensure dependencies are compiled.src/data/ctrl/apax.yml: Added thesnippetsdirectory to the list of files.New Methods and Interfaces:
src/data/ctrl/src/AxoDataEntity.st: AddedSetIdandGetIdmethods to manage theDataEntityIdproperty. [1] [2]src/data/ctrl/src/IAxoDataEntity.st: AddedSetIdandGetIdmethods to theIAxoDataEntityinterface.New Snippets:
src/data/ctrl/snippets/localstorage.json: Added a new snippet for local storage data exchange, including methods for CRUD operations and unit tests.Refactoring and Cleanup:
src/data/ctrl/src/AxoDataPersistentExchange.st: Removed the_contextvariable and updated theRunmethod to useTHIS.GetContext()directly. [1] [2]closes #609