{"action":"opened","issue":{"url":"https://api.github.com/repos/fable-compiler/Fable/issues/1563","repository_url":"https://api.github.com/repos/fable-compiler/Fable","labels_url":"https://api.github.com/repos/fable-compiler/Fable/issues/1563/labels{/name}","comments_url":"https://api.github.com/repos/fable-compiler/Fable/issues/1563/comments","events_url":"https://api.github.com/repos/fable-compiler/Fable/issues/1563/events","html_url":"https://github.com/fable-compiler/Fable/issues/1563","id":358054499,"node_id":"MDU6SXNzdWUzNTgwNTQ0OTk=","number":1563,"title":"CaseRules.LowerFirst of keyValueList is applied after [<CompiledName>] attribute","user":{"login":"mvsmal","id":3872761,"node_id":"MDQ6VXNlcjM4NzI3NjE=","avatar_url":"https://avatars1.githubusercontent.com/u/3872761?v=4","gravatar_id":"","url":"https://api.github.com/users/mvsmal","html_url":"https://github.com/mvsmal","followers_url":"https://api.github.com/users/mvsmal/followers","following_url":"https://api.github.com/users/mvsmal/following{/other_user}","gists_url":"https://api.github.com/users/mvsmal/gists{/gist_id}","starred_url":"https://api.github.com/users/mvsmal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvsmal/subscriptions","organizations_url":"https://api.github.com/users/mvsmal/orgs","repos_url":"https://api.github.com/users/mvsmal/repos","events_url":"https://api.github.com/users/mvsmal/events{/privacy}","received_events_url":"https://api.github.com/users/mvsmal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-07T12:50:48Z","updated_at":"2018-09-07T12:50:48Z","closed_at":null,"author_association":"NONE","body":"### Description\r\n\r\nWhen using `keyValueList` the rule `CaseRules.LowerFirst` is applied after `[<CompiledName>]` attribute.\r\nI am not sure if this is a bug. But if not, how do I provide a specific compile name?\r\n### Repro code\r\n\r\n```fsharp\r\nopen Fable.Core\r\nopen Fable.Core.JsInterop\r\n\r\ntype MyType =\r\n    | [<CompiledName(\"PascalCase\")>] PascalCase of string\r\n\r\nlet myList = [ PascalCase \"value\" ]\r\n\r\nlet myObj = keyValueList CaseRules.LowerFirst myList\r\nprintfn \"%O\" myObj\r\n```\r\n\r\n### Expected and actual results\r\n\r\n_Expected:_ `{\"PascalCase\":\"value\"}`\r\n_Actual:_ `{\"pascalCase\":\"value\"}`\r\n\r\n### Related information\r\n\r\n* Fable version (`dotnet fable --version`): 1.3.8 (in REPL2 the behavior is the same)\r\n* Operating system: Windows 10\r\n"}}
{"actor":{"display_login":"mvsmal"}}