Skip to content

Expose the factory 'default', 'by_path' methods, to assist custom strategy #1737

@goulf-3m

Description

@goulf-3m

Issues

  • I have checked existing issues and there are no existing ones with the same request.

Feature description

There are a few generate-workspace-summary related issues relating to ignoring some specific norg files, unresolved.

The module already provides a flexible stragety option to allow any kinds of generation method.
But, in a 'init.lua' config file, writing lengthy implementation of the strategy is not elegant.

As the 'default' and 'by_path' implementations are already quite good, lacking a little bit customization,
allowing reusing these implementations would be preferable.

For example, those unresolved issues can simply be solved by filtering unwanted norg files before calling the 'default' implementations.

Help

No

Implementation help

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureIssues related to feature proposals. Please attach a module.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions