Skip to content

🚀 Feature Request: Analytics Engine Local Stub #5532

@helloimalastair

Description

@helloimalastair

Describe the solution

Would it be possible to stub out bindings that don't/can't work locally(i.e. Analytics Engine)?

At the moment, local dev requires me to have an

if (env.AE) {
	env.AE.writeDataPoint({
		blobs: [...],
		doubles: [...],
		indexes: [...],
	});
} else {
	console.log("In dev, skipping logs");
}

This could be as simple as a function that just takes the same parameters as the actual AE binding, but then just discards them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions