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/15 07:42:00 UTC
[jira] [Assigned] (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 ]
Aydar Zaynutdinov reassigned BEAM-13177:
----------------------------------------
Assignee: Aydar Zaynutdinov
> [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
> Assignee: 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)