Open aslanutku opened 6 months ago
A possible workaround might be relocating the abstract classes to a different namespace and adding this namespace to the config variable Schemas::$ignoredNamespaces
I stumbled upon the exact same thing, this is a quickfix https://github.com/tattersoftware/codeigniter4-schemas/pull/49
Hello,
I've encountered an issue when using the
Tatter\Schemas
package in combination with the official CodeIgniter Shield package. When attempting to run the php spark schemas command to generate schema files, I receive the following error message:I believe this issue could be related to how the
ModelHandler
in theTatter\Schemas
package handles model instantiation, particularly with abstract classes likeBaseModel
in the Shield package.Any guidance on resolving this error would be greatly appreciated.
Thank you.