Kotlin / Kotlin/Storytale

Any plan on supporting on analysising stories and parameter in compile time?

Open
#41 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
686
Forks
21
PR merge metrics
No merged PRs in 30d

Description

I am quite interesting in this project and have similar use case about generating preview pages of composable functions. Currently we have a simple ksp tool to collect all non-parameter composable functions into one single list page.

So my question is if there any plan on supporting compile time checking of those composable functions needed in stories? It will be some boilerplate code to register story functions and their parameters by hand-writing.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the existing KSP tool that collects non-parameter composable functions into a list. Determine how compile-time analysis could identify story functions and their parameters, then clarify the intended generated registration and preview behavior. Done would mean an agreed design and implementation for compile-time story and parameter support.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
tooling
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.