Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

lib/types:maybeRaw should propagateelemType's sub-options#2341

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
MattSturgeon wants to merge1 commit intonix-community:main
base:main
Choose a base branch
Loading
fromMattSturgeon:maybeRaw_suboptions

Conversation

@MattSturgeon
Copy link
Member

This istechnically redundant, because we patcheither to be recursive. But I think it is best ifmaybeRaw does this explicitly, without relying on that behaviour.

@MattSturgeon
Copy link
MemberAuthor

error: A definition for option `plugins.cmp.settings.sources' is not of type `list of (attribute set of anything)'. Definition values:- In `/nix/store/a9v1l0scrw2nmsp7k40kywijf78mns6s-test-sources/plugins/cmp/default.nix':    {      __raw = ''        cmp.config.sources({          {            {name = "path"},    ...

I have no idea howthis change could trigger that though...

inherit(elemType)
getSubModules
getSubOptions
substSubModules
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I think a propersubstSubModules is a little more complex than just re-using the elem-type's

@khanelimankhaneliman marked this pull request as draftJanuary 31, 2025 23:53
@GaetanLepage
Copy link
Member

Is this PR still relevant?

@MattSturgeon
Copy link
MemberAuthor

Is this PR still relevant?

Forgot it existed tbh, but I think it may still be relevant for potentially allowing us to drop our patches for makingtypes.either return sub-options.

It needs some cleanup or reduction in scope, as I didn't understand things likegetSubsetModules when I wrote this.

GaetanLepage reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@MattSturgeon@GaetanLepage

[8]ページ先頭

©2009-2025 Movatter.jp