keygen-sh / keygen-api

Keygen is a fair source software licensing and distribution API built with Ruby on Rails. For developers, by developers.
https://keygen.sh
Other
834 stars 56 forks source link

All for_product scopes should accept code alias #898

Open ezekg opened 1 week ago

ezekg commented 1 week ago

Todo: other for_product scopes should accept a code as well. But making that performant for deeply nested associations may be an effort unto itself, so let's do that later in a separate PR.

_Originally posted by @ezekg in https://github.com/keygen-sh/keygen-api/pull/894#discussion_r1793589211_

ezekg commented 1 week ago

Also, add support for product code in license validation scope.product.