dabapps / django-readers

A lightweight function-oriented toolkit for better organisation of business logic and efficient selection and projection of data in Django projects.
https://www.django-readers.org
BSD 2-Clause "Simplified" License
183 stars 7 forks source link

Using `@out` decorator always attempts to attach the output field to the return value #86

Closed j4mie closed 11 months ago

j4mie commented 11 months ago

This results in AttributeError: 'bool' object has no attribute 'out' when the return value is a boolean (would happen for any value that can't have arbitrary attributes added to it)