CircleOfNice / DoctrineRestDriver

GNU General Public License v3.0
153 stars 44 forks source link

Annotations registered too late #32

Closed TobiasHauck closed 8 years ago

TobiasHauck commented 8 years ago

What is this feature about (expected vs actual behaviour)?

By using the driver I get the exception "annotation ... does not exist or has not been registered yet." We need to find a way to register them very early.

How can I reproduce it?

Just use the driver plain

Does it take minutes, hours or days to fix?

minutes

Any additional information?

How to fix it: Very easy by adding a few lines in the composer.json in the autoload section:

"files": ["Annotations/Insert.php", ...]