Skip to content

fix(grain): Correct empty resource generation#3

Open
spotandjake wants to merge 1 commit intograin-lang:grainfrom
spotandjake:spotandjake-grain-fix-resource
Open

fix(grain): Correct empty resource generation#3
spotandjake wants to merge 1 commit intograin-lang:grainfrom
spotandjake:spotandjake-grain-fix-resource

Conversation

@spotandjake
Copy link
Copy Markdown
Member

This pr corrects the way we generate bindings for:

resource file {}

before we would generate an empty module which didn't really make sense so now this just generates the type defintion for the resource handle if there is no functions.

This pr currently is built ontop of the changes in #2 so it needs to be merged first, I can seperate these if needed but it was easier for me to just combine them so I had a working branch.

@ospencer
Copy link
Copy Markdown
Member

@spotandjake Looks like you need to fix conflicts.

@spotandjake spotandjake force-pushed the spotandjake-grain-fix-resource branch from 9aee988 to c431d39 Compare March 26, 2026 00:53
@spotandjake spotandjake force-pushed the spotandjake-grain-fix-resource branch from c431d39 to cafb7d4 Compare March 26, 2026 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants