silkapp / rest

Packages for defining APIs, running them, generating client code and documentation.
http://silkapp.github.io/rest
390 stars 52 forks source link

Use 'uuid-types' instead of 'uuid' #120

Open BardurArantsson opened 9 years ago

BardurArantsson commented 9 years ago

This is just a heads-up, I don't actually use 'rest' myself, so...

The 'uuid' package was semi-recently split into 'uuid-types' (which contains just the UUID type and instances).

You might want to consider moving to that instead of 'uuid' package to reduce dependencies for rest-types (&c.)

bergmark commented 9 years ago

We discussed this but we didn't see a safe way of making the change. If we switch to uuid-types and a dependency is still using an older uuid they might get a compilation failure. The only way we saw to prevent this is to depend on uuid-types and uuid >= 1.3.9 to force our dependencies to upgrade. It wouldn't save us dependencies and would disallow anyone from using an older version of uuid.

BardurArantsson commented 9 years ago

Ah, OK. I guess this is one of those must-wait-for-next-big-version-bump things then. :)