Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Ordered property support #301
I should be able to define a property as ordered, and every metadata adapter will be forced to return that property in order.
class Resource < Valkyrie::Resource attribute :ordered_property, Valkyrie::Types::Array, ordered: true end resource = Resource.new(ordered_property: ["b", "a", "b"]) output = persister.save(resource: resource) output.ordered_property # => ["b", "a", "b"]
This should work in every metadata adapter (likely broken right now for Fedora.)