Skip to content

Commit

Permalink
Merge 105a675
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins committed Oct 15, 2024
2 parents 4ba0a5d + 105a675 commit 537a5c2
Show file tree
Hide file tree
Showing 7 changed files with 1,252 additions and 5 deletions.
231 changes: 228 additions & 3 deletions lepiter/85tlqwkx87y3o3gry2try5ch8.lepiter
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"__type" : "time",
"time" : {
"__type" : "dateAndTime",
"dateAndTimeString" : "2024-10-04T09:10:04.415473+02:00"
"dateAndTimeString" : "2024-10-15T09:54:06.281713+02:00"
}
},
"editEmail" : {
Expand All @@ -101,7 +101,7 @@
"__type" : "time",
"time" : {
"__type" : "dateAndTime",
"dateAndTimeString" : "2024-10-04T09:11:05.480043+02:00"
"dateAndTimeString" : "2024-10-15T09:54:46.995484+02:00"
}
},
"uid" : {
Expand All @@ -111,7 +111,232 @@
"paragraphStyle" : {
"__type" : "textStyle"
},
"string" : "To allow for the changing behaviour, we'll add classes that do lookup based on the content (`StringContentDictionary`?)."
"string" : "There are three broad approaches to dealing with this scenario:"
},
{
"__type" : "textSnippet",
"children" : {
"__type" : "snippets",
"items" : [
{
"__type" : "textSnippet",
"children" : {
"__type" : "snippets",
"items" : [ ]
},
"createEmail" : {
"__type" : "email",
"emailString" : "<unknown>"
},
"createTime" : {
"__type" : "time",
"time" : {
"__type" : "dateAndTime",
"dateAndTimeString" : "2024-10-15T09:55:10.374172+02:00"
}
},
"editEmail" : {
"__type" : "email",
"emailString" : "<unknown>"
},
"editTime" : {
"__type" : "time",
"time" : {
"__type" : "dateAndTime",
"dateAndTimeString" : "2024-10-15T09:56:04.270531+02:00"
}
},
"uid" : {
"__type" : "uid",
"uidString" : "IKdvAuHgDQCMJh37DVk8rg=="
},
"paragraphStyle" : {
"__type" : "textStyle"
},
"string" : "Replacing the instance creation of, e.g. {{gtClass:Dictionary}} with {{gtClass:GtStringContentDictionary}} means that no further modifications are required since the string comparison is used even when strict symbol comparisons are enabled."
}
]
},
"createEmail" : {
"__type" : "email",
"emailString" : "<unknown>"
},
"createTime" : {
"__type" : "time",
"time" : {
"__type" : "dateAndTime",
"dateAndTimeString" : "2024-10-15T09:54:47.884809+02:00"
}
},
"editEmail" : {
"__type" : "email",
"emailString" : "<unknown>"
},
"editTime" : {
"__type" : "time",
"time" : {
"__type" : "dateAndTime",
"dateAndTimeString" : "2024-10-15T09:55:09.092272+02:00"
}
},
"uid" : {
"__type" : "uid",
"uidString" : "WHUYAeHgDQCLRR2zDVk8rg=="
},
"paragraphStyle" : {
"__type" : "textStyle"
},
"string" : "### Change the class of the collection"
},
{
"__type" : "textSnippet",
"children" : {
"__type" : "snippets",
"items" : [
{
"__type" : "textSnippet",
"children" : {
"__type" : "snippets",
"items" : [ ]
},
"createEmail" : {
"__type" : "email",
"emailString" : "<unknown>"
},
"createTime" : {
"__type" : "time",
"time" : {
"__type" : "dateAndTime",
"dateAndTimeString" : "2024-10-15T09:56:22.575681+02:00"
}
},
"editEmail" : {
"__type" : "email",
"emailString" : "<unknown>"
},
"editTime" : {
"__type" : "time",
"time" : {
"__type" : "dateAndTime",
"dateAndTimeString" : "2024-10-15T09:57:02.022372+02:00"
}
},
"uid" : {
"__type" : "uid",
"uidString" : "JVy9BuHgDQCSHvNZDVk8rg=="
},
"paragraphStyle" : {
"__type" : "textStyle"
},
"string" : "This can be done by converting the key just prior to use, e.g. `aString asSymbol`, "
}
]
},
"createEmail" : {
"__type" : "email",
"emailString" : "<unknown>"
},
"createTime" : {
"__type" : "time",
"time" : {
"__type" : "dateAndTime",
"dateAndTimeString" : "2024-10-15T09:56:05.027042+02:00"
}
},
"editEmail" : {
"__type" : "email",
"emailString" : "<unknown>"
},
"editTime" : {
"__type" : "time",
"time" : {
"__type" : "dateAndTime",
"dateAndTimeString" : "2024-10-15T09:57:09.737034+02:00"
}
},
"uid" : {
"__type" : "uid",
"uidString" : "T5axBeHgDQCRNMuNDVk8rg=="
},
"paragraphStyle" : {
"__type" : "textStyle"
},
"string" : "## Ensure the key has the correct class when accessing"
},
{
"__type" : "textSnippet",
"children" : {
"__type" : "snippets",
"items" : [
{
"__type" : "textSnippet",
"children" : {
"__type" : "snippets",
"items" : [ ]
},
"createEmail" : {
"__type" : "email",
"emailString" : "<unknown>"
},
"createTime" : {
"__type" : "time",
"time" : {
"__type" : "dateAndTime",
"dateAndTimeString" : "2024-10-15T09:57:35.571937+02:00"
}
},
"editEmail" : {
"__type" : "email",
"emailString" : "<unknown>"
},
"editTime" : {
"__type" : "time",
"time" : {
"__type" : "dateAndTime",
"dateAndTimeString" : "2024-10-15T09:58:01.647347+02:00"
}
},
"uid" : {
"__type" : "uid",
"uidString" : "3lesCuHgDQCV65e0DVk8rg=="
},
"paragraphStyle" : {
"__type" : "textStyle"
},
"string" : "This frequently occurs when loading data from json files, resulting in a dictionary having String keys when they would normally be expected to have Symbols."
}
]
},
"createEmail" : {
"__type" : "email",
"emailString" : "<unknown>"
},
"createTime" : {
"__type" : "time",
"time" : {
"__type" : "dateAndTime",
"dateAndTimeString" : "2024-10-15T09:57:14.753644+02:00"
}
},
"editEmail" : {
"__type" : "email",
"emailString" : "<unknown>"
},
"editTime" : {
"__type" : "time",
"time" : {
"__type" : "dateAndTime",
"dateAndTimeString" : "2024-10-15T09:57:28.052814+02:00"
}
},
"uid" : {
"__type" : "uid",
"uidString" : "iofZCeHgDQCUiROqDVk8rg=="
},
"paragraphStyle" : {
"__type" : "textStyle"
},
"string" : "## Ensure the key has the correct class when loading / initialising"
}
]
},
Expand Down
Loading

0 comments on commit 537a5c2

Please sign in to comment.