Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Writing plugins for Limoncello #55

Open
dreamsbond opened this issue Mar 6, 2020 · 2 comments
Open

Writing plugins for Limoncello #55

dreamsbond opened this issue Mar 6, 2020 · 2 comments

Comments

@dreamsbond
Copy link

Hi @neomerx , i started writing some plugins for limoncello which incorporate the use of UUID, Doctrine Spatial and LDAP.

One of the plugins is to get the function of validating unique record on update request.

I am not sure if that is the proper way. please could you help and give some advice?

https://github.com/orzford/limoncello-route

@neomerx
Copy link
Contributor

neomerx commented Mar 8, 2020

Looks OK for me )

Packages can 'inject' container configurators, middleware, routes, configs. Your usage for container configuration looks good.

@dreamsbond
Copy link
Author

do you think i inject the package by overriding the method "update" in JsonApiBaseController was clumsy? or injecting routes? i have no ideas and directive...

moreover, i breaks components into two, while routekeyindex in one component and the validation logic in another component. do you think it is necessary? or should go for a single component?

thanks @neomerx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants