Created
June 25, 2020 00:26
-
-
Save preaction/edcd513769cb61a1e08637d881626f1b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my $schema = $app->yancy->schema; | |
for my $key ( keys %$schema ) { | |
my $props = $schema->{ $key }{ properties }; | |
$schema->{ $key }{ 'x-list-columns' } = [ grep { $props->{$_}{format} ne 'textarea' } keys %$props ]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment