Eric Peterson

Results 42 issues of Eric Peterson

Entity 1 `hasOne` Entity 2 (with default) so that even if it doesn't exist, we should get an empty memento. This does not work: ``` Entity1.Entity2().asMemento().get(); ``` But this does:...

https://twitter.com/danjharrin/status/1445406334405459974?s=21

`assignRelationship` can be used to seed relationships and avoid queries or refreshing entities in certain situations, especially when creating new records.

docs
contributions: up for grabs
difficulty: starter

Here's two examples for `BelongsTo` and `HasMany`: (other relationships would need to be thought through, as well) When creating an entity off of a `BelongsTo` relationship, the new related entity...

considering
difficulty: medium
type: improvement

+ [ ] Relationships that don't exist should throw instead of returning `null`. + [ ] Return relationship's default value when missing from `retrieveRelationship`. + [ ] Allow passing a...

contributions: up for grabs
difficulty: starter
type: improvement
better error messages

One common mistake with Quick is to forget to add `scope` to the beginning of a scope method name. Quick has the list of all functions on the entity. In...

contributions: up for grabs
difficulty: starter
type: improvement
better error messages

The error message is nested. We should make it top level to avoid confusion. See: https://community.ortussolutions.com/t/when-functionality-in-quickorm-missing/8766/2

contributions: up for grabs
difficulty: starter
type: improvement
better error messages

Quick does some work in [`qualifyColumn` that prevents raw expressions from being used.](https://github.com/coldbox-modules/quick/blob/ab9913bf4dc01db21a9215a9d9d86bc9d7b1e262/models/QuickBuilder.cfc#L680) I'm not sure how to account for raw expressions. Maybe just skip qualifying? Throwing a more helpful...

considering