Support

Kom i kontakt med vår kundtjänst, lär dig allt via vår SDK eller ladda ner den senaste uppdateringen.

Preservation av data on refactoring

2011-05-22 12:56:04 Fredrik Heidgert

Hi,

A content type seems to be bound to its namespace and class name. This means that if I decide to do a refactoring of my code and change the namespace or class name of my content type I will need to manually convert the content type for all pages affected.

Is there any way to preserve the content type so that Lemoon still knows that my content type is actually the same as before? Setting a GUID in an attribute of the class or something would be sweet so that developers can refactor freely.

All replies

  • 2011-05-25 13:38:59 Fredrik

    The content type is for the moment bound to the namespace, but we will change this to use GUID instead in an upcoming version of Lemoon.

  • 2011-05-25 22:18:58 Fredrik Heidgert

    Excellent, glad to hear that you're working in the right direction.