Comments (3)
This also breaks https://github.com/strapi-community/strapi-plugin-slugify
(Error: Could not load js config file /Users/.....//strapi-plugin-slugify/strapi-server.js: Cannot find module '@strapi/strapi/lib/core-api/controller/transform')
and i guess more repo's.
from strapi.
This isn't a bug, we never supported importing code this way and doing so was at author's own risk. IMO I would copy the code you require into your codebase where possible & notify library authors elsewhere :)
from strapi.
This isn't a bug, we never supported importing code this way and doing so was at author's own risk. IMO I would copy the code you require into your codebase where possible & notify library authors elsewhere :)
Hi 👋
Thanks for taking the time to look into it and for responding.
We appreciate it.
Are you very sure about your decision though?
Without exposing these methods it's impossible to create custom endpoints that support core strapi behaviour like pagination, and the response format and it's my understanding that strapi is aiming to be highly extensible and at least support more than CRUD only.
Importing and exporting these crucial functions should be straightforward for the strapi team to implement and would help a lot of developers.
Let me know what your thoughts are.
Kind regards,
John
from strapi.
Related Issues (20)
- Only debug mode : Undefined binding(s) detected when compiling WHERE. Undefined column(s): [t0.id] query: where t0.id = ?
- Email.template.reset_password translation is missing
- Chinese translation lost HOT 2
- Odd number generated every time a new entry is created
- Selecting multiple "Add relation" in a Collection Type too quickly causes the tab to become unresponsive.
- Typeof - date (ex: 01/01/2024) field decrements from the selected date
- [V4] TS Global Middleware not picked up HOT 3
- Single Type Leads To 404 NotFoundError HOT 1
- [BUG] [Strapi v5 Beta]`defPropValFN` is not a function HOT 2
- On npm run build getting issues regarding typscript in my Strapi project
- [v5] Cannot populate multiple relations to the same table using the REST API and Document Service API
- error while custom table migration to mysql
- On Initial Install Get "You don't have permission to access content error" when looking at User collection type until you refresh.
- [GraphQL] The `isDefault` field from the i18n plugin locale is missing in the `I18NLocale` GraphQL type
- admin_ui::Uncaught Error while adding component in dynamic zone HOT 1
- admin_ui::Uncaught Error while adding component in dynamic zone HOT 1
- webpack.DefinePlugin is not a constructor on yarn build HOT 3
- Throw ApplicationError in lifecycles.ts doesn't show error in admin panel
- User cache is not cleared when logging out and logging in as a different user
- users aren't redirected to the /usecase page anymore after telemetry accepted
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from strapi.