Skip to content

Comments

SQSERVICES-559 make AllFeatureConfigs typed#2403

Merged
battermann merged 7 commits intodevelopfrom
SQSERVICES-1559-make-all-feature-configs-typed
May 19, 2022
Merged

SQSERVICES-559 make AllFeatureConfigs typed#2403
battermann merged 7 commits intodevelopfrom
SQSERVICES-1559-make-all-feature-configs-typed

Conversation

@battermann
Copy link
Contributor

@battermann battermann commented May 17, 2022

https://wearezeta.atlassian.net/browse/SQSERVICES-1559

Checklist

  • The PR Title explains the impact of the change.
  • The PR description provides context as to why the change should occur and what the code contributes to that effect. This could also be a link to a JIRA ticket or a Github issue, if there is one.
  • changelog.d contains the following bits of information (details):
    • A file with the changelog entry in one or more suitable sub-sections. The sub-sections are marked by directories inside changelog.d.

@battermann battermann temporarily deployed to cachix May 17, 2022 12:32 Inactive
@battermann battermann requested a review from fisx May 17, 2022 12:33
@battermann battermann temporarily deployed to cachix May 18, 2022 08:04 Inactive
@battermann battermann temporarily deployed to cachix May 18, 2022 08:48 Inactive
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
deriving (Arbitrary) via (GenericUniform AllFeatureConfigs)

(not tested! but if it works, you can drop the implicit implementation below.)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

can't get it to wrok

Copy link
Contributor

@fisx fisx left a comment

Choose a reason for hiding this comment

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

almost done reading, but i have to go, sorry~

Copy link
Contributor

Choose a reason for hiding this comment

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

much better, thank you! :)

Copy link
Contributor

Choose a reason for hiding this comment

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

about refactorability: maybe you can rewrite these two lines so that you only need to modify the data type and follow the type errors.

Base automatically changed from SQSERVICES-1530-view-and-change-team-feature-permission-not-by-individual-feature to develop May 18, 2022 13:06
@battermann battermann force-pushed the SQSERVICES-1559-make-all-feature-configs-typed branch from 024b010 to f4f4420 Compare May 18, 2022 13:09
@battermann battermann temporarily deployed to cachix May 18, 2022 13:09 Inactive
@battermann battermann temporarily deployed to cachix May 18, 2022 13:26 Inactive
@battermann battermann requested a review from fisx May 18, 2022 14:01
@battermann battermann temporarily deployed to cachix May 19, 2022 07:01 Inactive
Co-authored-by: fisx <mf@zerobuzz.net>
@battermann battermann temporarily deployed to cachix May 19, 2022 10:15 Inactive
@battermann battermann merged commit db3b0e0 into develop May 19, 2022
@battermann battermann deleted the SQSERVICES-1559-make-all-feature-configs-typed branch May 19, 2022 11:45
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