Yacine Petitprez

Results 20 issues of Yacine Petitprez

TL;DR When bullet is activated, my request take ~4 seconds to load. When it's not, it take only 0.05s The problem I've a big performance issue in the case of...

stale

`ALTER TABLE ADD COLUMN` and add `NOT NULL` column without `DEFAULT` value is illegal in PostgreSQL: [https://stackoverflow.com/questions/3492947/insert-a-not-null-column-to-an-existing-table](https://stackoverflow.com/questions/3492947/insert-a-not-null-column-to-an-existing-table) Correct behavior should be default NULL instead.

Current behavior of `has_many through` assume than the passthrough model table has two foreign keys bundled into the table. However, in some case we want to call has_many through while...

bug
enhancement

This code will fail while the expected behavior should be different: ```crystal class Invoice include Clear::Model class Invoice::Line include Clear::Model belongs_to invoice : Invoice end has_many lines : Invoice::Line end...

When building a query, calling `paginate` before adding where or other filters clause cause the number of page etc... to be wrong.

# CLI integration There's a CLI bundled with Clear which provides migration and other features; but it's not very user friendly. Having a binary built during the installation of the...

enhancement

## Gitbook documentation The current inline documentation is not yet user-friendly. Clear offers thousand of different possibilities and can be a bit confusing at first glance for a beginner user....

help wanted
documentation

The current spec cases are quite messy. They do not cover all possibilities and sometime cover too many part at the same time; I'll revamp all the tests, focusing on...

enhancement

# Issue Calling `with_[relation]` method selecting the object without the `primary key` field in the `select` will fail as seen in this example: # Example of failure This will fail:...

enhancement

It would be great to be able to output the query plan for debugging purpose of any request and collections in Clear.

enhancement
onedaymaybe