-
Notifications
You must be signed in to change notification settings - Fork 124
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
Update versioning service to support Valkyrie #5886
Conversation
i think the extension of i'm pretty happy with the tests as-is. they seem appropriately scoped to the interface on VersioningService. the only thing that comes to mind is that a "many" case might be wanted (in addition to "one" and "two", or in place of "two"), but i wouldn't block on it, especially given how the implementation depends on 👍🏻 |
- Allow instances of `VersioningService` to be created and used to access the versions of a resource - Update the Wings `Version` struct to support some additional properties needed by the versioning presenter (namely `created`) - Initial set of tests for Valkyrie versioning behaviour
638740c
to
55e60a7
Compare
Also adds tests for `#versions` in VersioningService in addition to the existing static method tests.
9299dba
to
ad4c320
Compare
This makes the presenter code cleaner and provides a standard fallback when attempting to access versioning for a file which does not exist.
416b78c
to
564c60b
Compare
VersioningService
to be created and used to access the versions of a resourceVersion
struct to support some additional properties needed by the versioning presenter (namelycreated
)See #5876.
Things I’m curious about:
VersioningService
acceptable?