-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Extensions! #509
Comments
RequestContext ExtensionPurposeUsing the existing ParameterObject definitions, and your OpenAPI spec, make a new custom Sequence extension that automatically converts incoming requests into POTOs (Plain Old TypeScript Objects) that will simplify handling of incoming arguments and parameters. Example: const offsetSpec: ParameterObject = {
name: 'offsetSpec',
type: 'number',
in: 'query',
};
const pageSizeSpec: ParameterObject = {
name: 'pageSize',
type: 'number',
in: 'query',
};
const List: RequestObject = {
parameters: [
offsetSpec,
pageSizeSpec,
]
};
class MyController {
@operation('get', '/', {responses})
@request(List)
list(list: List) {
// Auto-populate a List (RequestObject) instance based on provided values
}
} See #476 for a complete proposal. Why?
Estimated Development TimeAssuming no technical blockers, I'd roughly estimate this to take approx. two weeks for development and unit testing Will You Build It?I would be willing to build this myself, with some help of course. :) |
I just created a wish list for potential extensions to inspire discussions - #512. |
Audit LogLog changes performed on models. It would help to keep track of who used, created or changed an entity and the point in time this happened. The same model that is being audited would be created with added properties mentioned in what should be stored section. This model will get updated when audit action happens. When should audit happen (taken from #2872)
What should be stored
|
Cross-posting from #119 Real-Time features
|
ACL Restrictions on Model PropertiesRestrict certain model properties to different user types. For example, a user model could have an account-type property that could only be changed by an admin and not by the owner (but the rest of the model could be changed by the owner). Will You Build It?I don't think I'd know where/how to start - but I could definitely try with some guidance. |
Loopback mqtt/amqp support. |
Features!
|
API Tool Improvements
Will You Build It?Perhaps |
Feature/External Component SupportPlease remove whatever is implemented. I have not read 4.0 docs completely
Will you build it?I would definitely like to contribute if I have guidance |
@ganeshkbhat Great list! Is there any one in particular you would be interested in starting with, depending on which we can see who can help with the guidance from the team. |
@strongloop/loopback-next
Overview
We're looking to see what sort of extensions people would like for loopback-next. Building a list of desired functionality that you want to see will give us a list of ideas to work with.
Once we've got a list of extensions, we'll begin reaching out to you to work with you to make these components/extensions. The goal here will be that you, the community, will own these extensions.
We'll work with you to build these items, and as they progress, we'll get feedback on things like:
Post Your Ideas
Make a comment below with your idea, and include the following:
Vote for Ideas
If you like an idea:
If you don't like an idea:
If you're dead-set on making an extension, feel free to start as soon as possible!
Not a member of @strongloop/loopback-next ? That's okay! We still want to hear from you!
Feel free to share links to this issue to everyone you think would love to participate!
UPDATE: See below for an example proposal. There's no particular template, so feel free to phrase it in whatever way suits you, as long as you cover those three bullet points.
UPDATE#2: There are more wish list for potential extensions in #512
The text was updated successfully, but these errors were encountered: