Closed sharky98 closed 3 years ago
Sorry, I haven't tried 1.4.x until now, so relied on the report of another contributor.
What is being affected - pagination. There are two issues:
.with_only_columns
seems to work differently in v1.4.x, and now returns unexpected resultquery._limit
, which is no longer available n 1.4.xI'll take a look how to work around those changes, and if simple .count()
would be enough, or it would slow down significally
Fixed in 1.0.4
Hello,
I was using 1.0.1 without any issues with SQLAlchemy 1.4.3. I just updated to includes the two issues I created. But pip complained about SQLAlchemy 1.4.x, that it doesn't meet the requirements of flask-restless-ng. I saw that since commit 1681bce3ab6df8227b12b657b576e2bc09c16648, it is now limited to <1.4.0. The commit claims that 1.4.0 breaks the tests.
Can you provide more information on what in the tests is broken and why/when this would be corrected? Like I said, I am using it with 1.4.6 now and I am not seeing any issues, althought I am not using (yet) all the options (new to python), I might miss something. Also having the information would help me not use the portion of flask-restless-ng that are "broken" by SQLAlchemy.
Regards