Skip to content
This repository was archived by the owner on Dec 8, 2025. It is now read-only.

feat: bolt.contrib.resource_generator#103

Closed
rx-dev wants to merge 1 commit intomcbeet:mainfrom
rx-modules:contrib/resource-generator
Closed

feat: bolt.contrib.resource_generator#103
rx-dev wants to merge 1 commit intomcbeet:mainfrom
rx-modules:contrib/resource-generator

Conversation

@rx-dev
Copy link
Copy Markdown
Member

@rx-dev rx-dev commented Apr 10, 2023

ResourceGenerator is a sugar-y wrapper around ctx.generate.

I think the _generator field is fine, but it might be alright to just have a generator or generate field or property without the _. If there's a name collision, the __getitem__ bypass always exist.

This idea is separate and perhaps complimentary to the ~ idea. The __call__ stuff was removed since it references bolt-expressions, we can add our own contrib that inherits this ResourceGenerator and adds the __call__ sugar!

Discord Ref

`ResourceGenerator` is a sugar-y wrapper around `ctx.generate`
@rx-dev rx-dev changed the title feat: beet.contrib.resource_generator feat: bolt.contrib.resource_generator Apr 10, 2023
@vberlier
Copy link
Copy Markdown
Member

vberlier commented Dec 8, 2025

I'm closing this since development moved to the beet monorepo. Feel free to make another PR over there.

@vberlier vberlier closed this Dec 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants