laravel-json-api / boolean-softdeletes Goto Github PK
View Code? Open in Web Editor NEWLaravel JSON:API integration for the tenantcloud/laravel-boolean-softdeletes package
License: Apache License 2.0
Laravel JSON:API integration for the tenantcloud/laravel-boolean-softdeletes package
License: Apache License 2.0
Laravel 9
Php 8.1
composer require output:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- laravel-json-api/boolean-softdeletes[dev-develop, v1.0.1] require illuminate/support ^8.0 -> found illuminate/support[v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
- laravel-json-api/boolean-softdeletes v1.0.0 requires laravel-json-api/eloquent ^1.0.0 -> found laravel-json-api/eloquent[v1.0.0-alpha.1, ..., v1.0.1] but the package is fixed to v2.1.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- laravel-json-api/boolean-softdeletes 1.x-dev is an alias of laravel-json-api/boolean-softdeletes dev-develop and thus requires it to be installed too.
- Root composer.json requires laravel-json-api/boolean-softdeletes ^1.0 -> satisfiable by laravel-json-api/boolean-softdeletes[v1.0.0, v1.0.1, 1.x-dev (alias of dev-develop)].
In my project all models are soft-deletable, so soft-deletion (and some other common properties) are defined in a parent Model called ObjectModel
. This model has the SoftDeletesBoolean
trait. However, this trait is not detected in SoftDeleteBooleanDriver
because it is using class_uses
, that only returns traits in the current class and not in parent classes.
It's conflicting with other installs, like laravel-json-api/hashids ^2
We need to bring in the changes we've made to the "regular" soft delete driver in the Eloquent repository, via this PR:
laravel-json-api/eloquent#34
So that the two are consistent.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.