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

.Net client: Repository instance API #79

Open
tusmester opened this issue Feb 9, 2023 · 0 comments
Open

.Net client: Repository instance API #79

tusmester opened this issue Feb 9, 2023 · 0 comments
Labels

Comments

@tusmester
Copy link
Member

tusmester commented Feb 9, 2023

Design a new API that works in a modern DI-oriented environment - instead of the current static Content API.

  • a single Repository service instance that encapsulates:
    • the connection to the repository service (currently ServerContext)
    • authentication
    • content instance creation API, including custom business types (e.g. MyFolder). The goal is to create content items in a way that lets developers inject services easily.
    • load and query API
  • CRUD operations should remain on the Content class
  • Content class can be inherited (custom business objects, see above)
  • all APIs should be async (with cancellation) and trace/log every operation
  • current/legacy APIs should remain intact
  • make the whole static RestCaller class obsolete when this is completed.
@tusmester tusmester added the Epic label Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant