Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
refactor: remove outdated configuration fields
Browse files Browse the repository at this point in the history
BREAKING CHANGE: `function-name-placeholder` and 
`anonymous-name-separator` are ignored.
  • Loading branch information
lachrist committed Nov 17, 2022
1 parent a72a4f2 commit 5e44ad4
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 14 deletions.
1 change: 0 additions & 1 deletion components/configuration-process/node/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ const default_external_configuration = {
"default-package": {
enabled: true,
},
"anonymous-name-separator": "-",
exclude: [
{
combinator: "and",
Expand Down
8 changes: 0 additions & 8 deletions components/configuration/default/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ const HOOK_APPLY_GLOBAL = "APPMAP_HOOK_APPLY";

const HOOK_EVAL_GLOBAL = "APPMAP_HOOK_EVAL";

const ANONYMOUS_NAME_SEPARATOR = "-";

const EXPECTED_EXTRA_PROPERTIES = ["test_recording"];

const resolveUrl = (url, base) => new URL(url, base).href;
Expand Down Expand Up @@ -365,10 +363,6 @@ const fields = {
extend: overwrite,
normalize: identity,
},
"function-name-placeholder": {
extend: overwrite,
normalize: identity,
},
"collapse-package-hierachy": {
extend: overwrite,
normalize: identity,
Expand Down Expand Up @@ -520,7 +514,6 @@ export const createConfiguration = (home) => ({
pg: true,
},
ordering: "causal",
"function-name-placeholder": "()",
"collapse-package-hierachy": false,
serialization: {
"maximum-print-length": 100,
Expand All @@ -539,7 +532,6 @@ export const createConfiguration = (home) => ({
"inline-source": null,
},
packages: [],
"anonymous-name-separator": ANONYMOUS_NAME_SEPARATOR,
exclude: [
{
combinator: "or",
Expand Down
4 changes: 0 additions & 4 deletions schema/external-configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,6 @@ properties:
$ref: module-specifier
exclude:
$ref: exclude
anonymous-name-separator:
$ref: separator
function-name-placeholder:
type: string
collapse-package-hierachy:
type: boolean
recording:
Expand Down
2 changes: 1 addition & 1 deletion schema/internal-configuration.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
type: object
additionalProperties: false
minProperties: 42
minProperties: 40
properties:
socket:
$ref: socket
Expand Down

0 comments on commit 5e44ad4

Please sign in to comment.