GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    Aral Balkan (aral@mastodon.ar.al)'s status on Wednesday, 30-Aug-2023 02:13:36 JSTAral BalkanAral Balkan
    in reply to

    I’m actually now wondering if implementing lazy migrations at the object level is madness or not.

    e.g., myDatabase.someTable.someObject.latest().someProperty

    Where the latest method ensures migrations for the object are lazily run as necessary.

    Of course, that would complicate authoring quite a bit because if you forgot that latest() call things would go poof!

    Hmm… if only there was a way to run an initiliser when using Object.create()… #JSDB already uses proxies so maybe?

    #js #database

    In conversationWednesday, 30-Aug-2023 02:13:36 JST from mastodon.ar.alpermalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.