coyote-team / coyote-wp

Wordpress Plug-in for Coyote
2 stars 2 forks source link

Use priority indicator when multiple alt representations exist #22

Open jkva opened 4 years ago

jkva commented 3 years ago

@flipsasser is there currently documentation for this feature?

flipsasser commented 3 years ago

Sorry @jkva, I'm just getting to this. Can you clarify where you're asking about this?

jkva commented 3 years ago

@flipsasser where? Here. In this issue. Do I misunderstand you?

The idea is that when there are multiple descriptions defined for a resource, they have a priority indicator which is then used by the client to decide with description to pick up for the resource.

flipsasser commented 3 years ago

@jkva we use ordinality for this. Lower ordinality wins. Does that help?

jkva commented 2 years ago

In V2, Coyote/ResourceModel::getTopRepresentationByMetum(string $metum) implements this.