MapStreamSyntax というクラスで基本的に static import して使います。
具体例を見てもらえばどの辺が便利なのか伝わるでしょうか?
// JDK標準APIのみ
public Map<Integer, String> Case1_Before(final Map<Integer, String> map) {
=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |
Phoenix 1.4 ships with exciting new features, most notably with HTTP2 support, improved development experience with faster compile times, new error pages, and local SSL certificate generation. Additionally, our channel layer internals receiveced an overhaul, provided better structure and extensibility. We also shipped a new and improved Presence javascript API, as well as Elixir formatter integration for our routing and test DSLs.
This release requires few user-facing changes and should be a fast upgrade for those on Phoenix 1.3.x.
To get started, simply update your Phoenix dep in mix.exs
:
{:phoenix, "~> 1.4.0-rc"}
{
"checkoutResponse":{
"cart":{
"id":"1",
"items":[
{
"id":"313fb143-3478-4a4c-b688-e3cb5dcdaa62",
"catalog":"19",
"sku":"4380192",
{
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": true,
"source.organizeImports": true,
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
}