Skip to content

Annotate NamedSchema with used Definitions - #19

Merged
fizruk merged 16 commits into
masterfrom
definitions-#13
Dec 12, 2015
Merged

fizruk merged 16 commits into
masterfrom
definitions-#13

Conversation

@fizruk

@fizruk fizruk commented Dec 11, 2015

Copy link
Copy Markdown
Member

Closes #13.

@fizruk

fizruk commented Dec 11, 2015

Copy link
Copy Markdown
Member Author

In the process of making a list of schema definitions generically I have discovered a (previously unknown?) Declare monad. Although I think we can use a lazy State monad here with declare = modify . (<>), I find it appealing that Declare by nature disallows removing prior definitions.

This code is already working (see tests here).

I am going to clean up the code before the merge.

fizruk added a commit that referenced this pull request Dec 12, 2015
Annotate NamedSchema with used Definitions
@fizruk
fizruk merged commit bb33aeb into master Dec 12, 2015
@fizruk
fizruk deleted the definitions-#13 branch December 12, 2015 03:27
@fizruk fizruk mentioned this pull request Dec 12, 2015
maksbotan added a commit to biocad/swagger2 that referenced this pull request Dec 12, 2021
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.

1 participant