I needed to change a configuration key without a bc break (of a sandrokeil/interop-config factory)
given a configuration of;
$config['some_dimension']['more_dimension]['default']['connection_service'] = 'string';
inserting this;
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
someAttribute: null, | |
someUnsetAttribute: null, | |
init() { | |
this._super(...arguments); | |
console.log('init', this.get('someAttribute'), this.get('someUnsetAttribute')); |
ember addon ember-filter-builder | |
installing addon | |
create .editorconfig | |
create .ember-cli | |
create .eslintignore | |
create .eslintrc.js | |
create .template-lintrc.js | |
create .travis.yml | |
create .watchmanconfig | |
create README.md |
final class DossierAggregateRepository extends AggregateRepository implements DossierRepository | |
{ | |
public function save(Dossier $dossier): void | |
{ | |
$this->saveAggregateRoot($dossier); | |
} | |
public function get(DossierId $dossierId): ?Dossier | |
{ |
-- DROP CONSTRAINT FIRST | |
ALTER TABLE _7794a224f85453058cf637d52e7c4487568a8271 DROP CONSTRAINT _7794a224f85453058cf637d52e7c4487568a8271_pkey; | |
-- DROP EXISTING SEQUENCE | |
DROP SEQUENCE _7794a224f85453058cf637d52e7c4487568a8271_no_seq CASCADE; | |
-- CREATE AN ORDERED VIEW | |
CREATE VIEW ordered_view AS SELECT * FROM _7794a224f85453058cf637d52e7c4487568a8271 ORDER BY created_at ASC FOR UPDATE; | |
-- CREATE A RULE FOR UPDATE | |
CREATE RULE rule_order AS ON UPDATE TO ordered_view DO INSTEAD | |
UPDATE _7794a224f85453058cf637d52e7c4487568a8271 |
<div> | |
{{#if 1}} | |
{{bs-button type="clear" size="sm" class="p-0 m-1" icon="fa fa-times-circle-o fa-fw" onClick=(action 'onClearFilter')}} | |
{{/if}} | |
</div> | |
<div> | |
<span> | |
{{#if 1}} | |
{{bs-button type="clear" size="sm" class="p-0 m-1" icon="fa fa-times-circle-o fa-fw" onClick=(action 'onClearFilter')}} |
normalize(typeClass, hash) { | |
assert("Component payload must contain a 'name' attribute.", !isNone(hash.attributes.name)); | |
assert("Component payload must contain a 'value' attribute.", !isNone(hash.attributes.value)); | |
switch(hash.attributes.name) { | |
case orderPropertiesPath.SANDALS_CUSTOM_MADE_MODEL_COMPOSITION: | |
hash.type = 'dossier/order-property/sandals-custom-made-model-composition' | |
break; | |
} |
/** | |
* @param Length $height | |
* | |
* @return Volume | |
*/ | |
public function withHeight(Length $height): self | |
{ | |
$new = clone $this; | |
$new->setHeight($height); |
properties: hasMany('dossier/order-property', { async: true }), | |
propertyValue(propertyName) { | |
return this.get('properties').then((properties) => { | |
const property = properties.findBy('name', propertyName); | |
if (isNone(property)) { | |
return null; | |
} | |
return property.get('value'); | |
}); |
I needed to change a configuration key without a bc break (of a sandrokeil/interop-config factory)
given a configuration of;
$config['some_dimension']['more_dimension]['default']['connection_service'] = 'string';
inserting this;
#!/usr/bin/env bash | |
# Copyright 2018 Bushbaby Multimedia | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |