Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

Interfaces should contain full class paths #197

Open
sambolek opened this issue Jul 2, 2020 · 0 comments
Open

Interfaces should contain full class paths #197

sambolek opened this issue Jul 2, 2020 · 0 comments

Comments

@sambolek
Copy link

sambolek commented Jul 2, 2020

Hi,

we're using this module, although not API part. We observed the following error is reported
Message: The "PostInterface" class doesn't exist and the namespace must be specified. Verify and try again.

In essence, the issue is that, during code formatting, full class names API requires on interfaces were replaced by short versions. The commit in question: 4978874#diff-edf947d6942637ad493627ab621f4b19

To reproduce, try opening your local instance REST API definition
https://mysite.test/rest/default/schema . This results in an exception being thrown: https://prnt.sc/tah1an

Could you please re-apply the FQCN to doc blocks of all classes in "Api" folder.

More info:

joeriLock93 added a commit to joeriLock93/module-blog that referenced this issue Aug 12, 2020
Full class paths are needed when using API

mirasvit#197
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant