entities

Entities and repositories support via attributes and repository generator

MIT License

Downloads
3.4K
Stars
5
Committers
1

Bot releases are hidden (Show)

entities - Add psalm annotations + flattened fields amendmend

Published by iquito about 4 years ago

  • Add first psalm-immutable and psalm-pure annotations
  • Additional tests to make sure flattened fields all had
    a sensible type
  • Add path coverage to code coverage composer command
entities -

Published by iquito over 4 years ago

entities - Improve flattened fields with types

Published by iquito over 4 years ago

  • Coerce values that can sensibly be coerced
  • Convert the functions into a trait so they can
    be shared between the three select classes
  • Adjust tests accordingly
entities - Adjust repositories generator

Published by iquito over 4 years ago

Add missing getFlattenedFields functions.

entities - Add flattened fields with types

Published by iquito over 4 years ago

New functions in select builder class:

  • getFlattenedIntegerFields
  • getFlattenedFloatFields
  • getFlattenedStringFields
  • getFlattenedBooleanFields
entities - Adjust interface for flattenFields option

Published by iquito over 4 years ago

flattenFields is no option anymore, instead there is the fetchAllAndFlatten function.

entities -

Published by iquito over 4 years ago

entities - Leverage PHP 7.4 features

Published by iquito over 4 years ago

  • Remove type and nullable annotation options, infer them automatically from property types
  • Property types are now mandatory because of this
  • Some cleanup in configuration and some more usage of PHP 7.4 features in code
entities -

Published by iquito almost 5 years ago

entities -

Published by iquito almost 5 years ago

entities -

Published by iquito almost 5 years ago

entities -

Published by iquito almost 5 years ago

entities - Slight fix for generated repositories

Published by iquito almost 5 years ago

One type hint was wrong/mangled in generated read-only repositories, and two iterator functions had missing void return type hints. Both these issues are now corrected.

entities -

Published by iquito almost 5 years ago

entities -

Published by iquito almost 5 years ago

entities -

Published by iquito almost 5 years ago

entities - Support order by with no variables

Published by iquito about 5 years ago

Before ordering by "RAND()" or other expressions which did
not contain a variable did not work, now we check for
characters which indicate the order by expression should
not be interpreted as a field name.

entities -

Published by iquito over 5 years ago

entities -

Published by iquito over 5 years ago

entities -

Published by iquito over 5 years ago