lapis-community icon indicating copy to clipboard operation
lapis-community copied to clipboard

migrate to raw types object from lapis.validate.types

Open leafo opened this issue 1 year ago • 0 comments

Migrate away from using the shapes module for holding basic types:

  • Move all use of things like shapes.empty, shapes.db_id over to using lapis.validate.types directly
  • Switch from using shapes.assert_valid to just assert_valid from lapis.validate
  • Keep the shapes module around for testing larger objects, like form submission types

leafo avatar Jan 13 '23 20:01 leafo