You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Aydar Zaynutdinov (Jira)" <ji...@apache.org> on 2021/11/12 09:12:00 UTC

[jira] [Work started] (BEAM-13177) [Playground] Change using of MustParse with Parse for all API methods

     [ https://issues.apache.org/jira/browse/BEAM-13177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on BEAM-13177 started by null.
-----------------------------------
> [Playground] Change using of MustParse with Parse for all API methods
> ---------------------------------------------------------------------
>
>                 Key: BEAM-13177
>                 URL: https://issues.apache.org/jira/browse/BEAM-13177
>             Project: Beam
>          Issue Type: Bug
>          Components: beam-playground
>            Reporter: Aydar Zaynutdinov
>            Priority: P3
>              Labels: beam-playground-backend, beam-playground-sprint-3
>
> Now API methods use uuid.MustParse() to get uuid from request parameters. If parameters don't match the correct uuid this method will throw panic.
> Need to use uuid.Parse() instead of uuid.MustParse() to prevent this case. In case uuid.Parse() returns error return errors.InvalidArgumentError.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)