ember-fastboot / ember-fastboot/fastboot-express-middleware

Unable to Pass Data to Fastboot through Middleware

Open
#17 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
17
Forks
42
PR merge metrics
No merged PRs in 30d

Description

I was working on a feature that used an npm package to get the IP address of a client conncting to the Fastboot server, which was configured as a middleware in `fastboot-server.js`, which initializes Fastboot using this middleware. However, it appears that there is no way to pass data to Fastboot through fastboot-express-middleware, which makes it very challenging to extend Fastboot using other middlewares.

Let me know if you need more information about my use case, but overall I think it would be important to maintain modularity by allowing information to be passed into Fastboot through this middleware.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading fastboot-server.js and the fastboot-express-middleware initialization path described in the issue. Determine how middleware currently interacts with FastBoot and what request data must be preserved; the issue is complete when a defined, tested way to pass middleware-provided information into FastBoot is agreed and implemented.

Written by the indexing model from the issue text.

Assessment

Tech stack
express, javascript
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.